Uses of Interface
org.tribuo.interop.tensorflow.ExampleTransformer
Packages that use ExampleTransformer
Package
Description
Provides an interface to Tensorflow, allowing the training of non-sequential models using any supported
Tribuo output type.
-
Uses of ExampleTransformer in org.tribuo.interop.tensorflow
Classes in org.tribuo.interop.tensorflow that implement ExampleTransformerModifier and TypeClassDescriptionclass
DenseTransformer<T extends Output<T>>
Converts a sparse example into a dense float vector, then wraps it in aTensor
.class
ImageTransformer<T extends Output<T>>
Image transformer.Methods in org.tribuo.interop.tensorflow with parameters of type ExampleTransformerModifier and TypeMethodDescriptionstatic <T extends Output<T>>
TensorflowExternalModel<T> TensorflowExternalModel.createTensorflowModel
(OutputFactory<T> factory, Map<String, Integer> featureMapping, Map<T, Integer> outputMapping, String inputName, String outputName, ExampleTransformer<T> featureTransformer, OutputTransformer<T> outputTransformer, String filename) Creates a TensorflowExternalModel by loading in a frozen graph.Constructors in org.tribuo.interop.tensorflow with parameters of type ExampleTransformerModifierConstructorDescriptionTensorflowCheckpointTrainer
(Path graphPath, Path checkpointRootPath, ExampleTransformer<T> exampleTransformer, OutputTransformer<T> outputTransformer, int minibatchSize, int epochs) Builds a trainer using the supplied graph and arguments.TensorflowTrainer
(byte[] graphDef, ExampleTransformer<T> exampleTransformer, OutputTransformer<T> outputTransformer, int minibatchSize, int epochs, int testBatchSize) Constructs a Trainer for a tensorflow graph.TensorflowTrainer
(Path graphPath, ExampleTransformer<T> exampleTransformer, OutputTransformer<T> outputTransformer, int minibatchSize, int epochs, int testBatchSize) Constructs a Trainer for a tensorflow graph.