Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Accept tf.Tensor for TensorFlow prediction? #268

Open
@alum

Description

@alum

For TensorFlow models, the conversion from tf.Example to tf.Tensor is a CPU/allocation intensive operation. Would it be possible to supply an API that accepts tf.Tensor as input?

More specifically I'm referring to this conversion: https://github.com/spotify/zoltar/blob/master/zoltar-tensorflow/src/main/java/com/spotify/zoltar/tf/TensorFlowPredictFn.java#L97

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions