4 instantiations of TensorFlowTransformer
Microsoft.ML.TensorFlow (4)
TensorflowTransform.cs (4)
151return new TensorFlowTransformer(env, LoadTFSession(env, modelBytes), outputs, inputs, null, false, addBatchDimensionInput, treatOutputAsBatched: treatOutputAsBatched); 180return new TensorFlowTransformer(env, GetSession(env, tempDirPath), outputs, inputs, tempDirPath, true, addBatchDimensionInput, treatOutputAsBatched: treatOutputAsBatched); 198return new TensorFlowTransformer(env, options, input).MakeDataTransform(input); 1061_transformer = new TensorFlowTransformer(_host, _tensorFlowModel.Session, _options.OutputColumns, _options.InputColumns,
41 references to TensorFlowTransformer
Microsoft.ML.Core.Tests (3)
UnitTests\TestEntryPoints.cs (3)
328Env.ComponentCatalog.RegisterAssembly(typeof(TensorFlowTransformer).Assembly); 6475Env.ComponentCatalog.RegisterAssembly(typeof(TensorFlowTransformer).Assembly); 6491Env.ComponentCatalog.RegisterAssembly(typeof(TensorFlowTransformer).Assembly);
Microsoft.ML.Samples (1)
Dynamic\TensorFlow\ImageClassification.cs (1)
48var estimator = pipeline.Fit(idv);
Microsoft.ML.Samples.GPU (1)
docs\samples\Microsoft.ML.Samples\Dynamic\TensorFlow\ImageClassification.cs (1)
48var estimator = pipeline.Fit(idv);
Microsoft.ML.TensorFlow (29)
TensorflowTransform.cs (28)
25[assembly: LoadableClass(TensorFlowTransformer.Summary, typeof(IDataTransform), typeof(TensorFlowTransformer), 26typeof(TensorFlowEstimator.Options), typeof(SignatureDataTransform), TensorFlowTransformer.UserName, TensorFlowTransformer.ShortName)] 28[assembly: LoadableClass(TensorFlowTransformer.Summary, typeof(IDataTransform), typeof(TensorFlowTransformer), null, typeof(SignatureLoadDataTransform), 29TensorFlowTransformer.UserName, TensorFlowTransformer.LoaderSignature)] 31[assembly: LoadableClass(typeof(TensorFlowTransformer), null, typeof(SignatureLoadModel), 32TensorFlowTransformer.UserName, TensorFlowTransformer.LoaderSignature)] 34[assembly: LoadableClass(typeof(IRowMapper), typeof(TensorFlowTransformer), null, typeof(SignatureLoadRowMapper), 35TensorFlowTransformer.UserName, TensorFlowTransformer.LoaderSignature)] 37[assembly: EntryPointModule(typeof(TensorFlowTransformer))] 88loaderAssemblyName: typeof(TensorFlowTransformer).Assembly.FullName); 128private static TensorFlowTransformer Create(IHostEnvironment env, ModelLoadContext ctx) 154var tempDirPath = Path.GetFullPath(Path.Combine(((IHostEnvironmentInternal)env).TempFilePath, nameof(TensorFlowTransformer) + "_" + Guid.NewGuid())); 289: base(Contracts.CheckRef(env, nameof(env)).Register(nameof(TensorFlowTransformer))) 536private readonly TensorFlowTransformer _parent; 542public Mapper(TensorFlowTransformer parent, DataViewSchema inputSchema) : 927public sealed class TensorFlowEstimator : IEstimator<TensorFlowTransformer> 930/// The options for the <see cref="TensorFlowTransformer"/>. 983private TensorFlowTransformer _transformer; 1009var inputTuple = TensorFlowTransformer.GetInputInfo(_host, tensorFlowModel.Session, _options.InputColumns); 1011var outputTuple = TensorFlowTransformer.GetOutputInfo(_host, tensorFlowModel.Session, _options.OutputColumns, _options.TreatOutputAsBatched); 1054/// Trains and returns a <see cref="TensorFlowTransformer"/>. 1056public TensorFlowTransformer Fit(IDataView input)
TensorflowUtils.cs (1)
121/// <see cref="TensorFlowTransformer"/>, the output schema contains a column with the name of that node, and the
Microsoft.ML.TensorFlow.Tests (7)
TensorFlowEstimatorTests.cs (2)
125var transformer = est.Fit(dataView); 141Type type = typeof(TensorFlowTransformer);
TensorflowTests.cs (5)
200var trans = tfModel.ScoreTensorFlowModel(new[] { "c" }, new[] { "a", "b" }).Fit(loader); 292var trans = tfModel.ScoreTensorFlowModel(outputs, inputs).Fit(loader); 414var trans = tfModel.ScoreTensorFlowModel(outputs, inputs).Fit(loader); 1027var trans = tensorFlowModel.ScoreTensorFlowModel("Output", "Input").Fit(pixels); 1079var trans = tensorFlowModel.ScoreTensorFlowModel("Output", "Input").Fit(pixels);