Uses of Class
org.tribuo.interop.tensorflow.TensorMap
Packages that use TensorMap
Package
Description
Provides an interface to TensorFlow, allowing the training of non-sequential models using any supported
Tribuo output type.
Provides an interface for working with TensorFlow sequence models, using Tribuo's
SequenceModel abstraction.-
Uses of TensorMap in org.tribuo.interop.tensorflow
Subclasses with type arguments of type TensorMap in org.tribuo.interop.tensorflowModifier and TypeClassDescriptionfinal classTensorFlowFrozenExternalModel<T extends Output<T>>A Tribuo wrapper around a TensorFlow frozen model.final classTensorFlowSavedModelExternalModel<T extends Output<T>>A Tribuo wrapper around a TensorFlow saved model bundle.final classTensorFlowSavedModelExternalModel<T extends Output<T>>A Tribuo wrapper around a TensorFlow saved model bundle.Methods in org.tribuo.interop.tensorflow that return TensorMapModifier and TypeMethodDescriptionDenseFeatureConverter.convert(List<? extends Example<?>> examples, ImmutableFeatureMap featureIDMap) DenseFeatureConverter.convert(Example<?> example, ImmutableFeatureMap featureIDMap) FeatureConverter.convert(List<? extends Example<?>> example, ImmutableFeatureMap featureIDMap) FeatureConverter.convert(Example<?> example, ImmutableFeatureMap featureIDMap) ImageConverter.convert(List<? extends Example<?>> examples, ImmutableFeatureMap featureIDMap) Transform implicitly pads unseen values with zero.ImageConverter.convert(Example<?> example, ImmutableFeatureMap featureIDMap) Transform implicitly pads unseen values with zero.protected TensorMapTensorFlowFrozenExternalModel.convertFeatures(SparseVector input) protected TensorMapTensorFlowSavedModelExternalModel.convertFeatures(SparseVector input) protected TensorMapTensorFlowFrozenExternalModel.convertFeaturesList(List<SparseVector> input) protected TensorMapTensorFlowSavedModelExternalModel.convertFeaturesList(List<SparseVector> input) protected TensorMapTensorFlowSavedModelExternalModel.externalPrediction(TensorMap input) Runs the session to make a prediction.Methods in org.tribuo.interop.tensorflow with parameters of type TensorMapModifier and TypeMethodDescriptionprotected List<Prediction<T>> TensorFlowSavedModelExternalModel.convertOutput(TensorMap output, int[] numValidFeatures, List<Example<T>> examples) Converts a tensor into a prediction.protected Prediction<T> TensorFlowSavedModelExternalModel.convertOutput(TensorMap output, int numValidFeatures, Example<T> example) Converts a tensor into a prediction.protected org.tensorflow.TensorTensorFlowFrozenExternalModel.externalPrediction(TensorMap input) Runs the session to make a prediction.protected TensorMapTensorFlowSavedModelExternalModel.externalPrediction(TensorMap input) Runs the session to make a prediction. -
Uses of TensorMap in org.tribuo.interop.tensorflow.sequence
Methods in org.tribuo.interop.tensorflow.sequence that return TensorMapModifier and TypeMethodDescriptionSequenceFeatureConverter.encode(List<? extends SequenceExample<?>> batch, ImmutableFeatureMap featureMap) Encodes a batch of examples as a feed dict.SequenceFeatureConverter.encode(SequenceExample<?> example, ImmutableFeatureMap featureMap) Encodes an example as a feed dict.SequenceOutputConverter.encode(List<SequenceExample<T>> batch, ImmutableOutputInfo<T> labelMap) Encodes a batch of labels as a feed dict.SequenceOutputConverter.encode(SequenceExample<T> example, ImmutableOutputInfo<T> labelMap) Encodes an example's label as a feed dict.protected TensorMapTensorFlowSequenceTrainer.getHyperparameterFeed()Build any necessary non-data parameter tensors.