15 references to TensorFlowUtils
Microsoft.ML.TensorFlow (15)
TensorflowCatalog.cs (2)
37=> TensorFlowUtils.LoadTensorFlowModel(CatalogUtils.GetEnvironment(catalog), modelLocation); 63=> TensorFlowUtils.LoadTensorFlowModel(CatalogUtils.GetEnvironment(catalog), modelLocation, treatOutputAsBatched);
TensorFlowModel.cs (2)
46return TensorFlowUtils.GetModelSchema(_env, Session.graph, TreatOutputAsBatched); 55return TensorFlowUtils.GetModelSchema(_env, Session.graph, TreatOutputAsBatched, "Placeholder");
TensorflowTransform.cs (11)
21using static Microsoft.ML.TensorFlow.TensorFlowUtils; 95/// It is useful in a situation where user has already loaded TensorFlow model using <see cref="TensorFlowUtils.LoadTensorFlowModel(IHostEnvironment, string, bool)"/> for inspecting model schema. 98/// <param name="tfModelInfo"> <see cref="TensorFlowModel"/> object created with <see cref="TensorFlowUtils.LoadTensorFlowModel(IHostEnvironment, string, bool)"/>.</param> 113/// It is useful in a situation where user has already loaded TensorFlow model using <see cref="TensorFlowUtils.LoadTensorFlowModel(IHostEnvironment, string, bool)"/> for inspecting model schema. 116/// <param name="tfModelInfo"> <see cref="TensorFlowModel"/> object created with <see cref="TensorFlowUtils.LoadTensorFlowModel(IHostEnvironment, string, bool)"/>.</param> 202: this(env, options, TensorFlowUtils.LoadTensorFlowModel(env, options.ModelLocation), input) 845var tensor = TensorFlowUtils.CastDataAndReturnAsTensor(scalar); 905var tensor = TensorFlowUtils.CastDataAndReturnAsTensor(_denseData, _tfShape); 919var tensor = TensorFlowUtils.CastDataAndReturnAsTensor(_denseData, _tfShape); 987: this(env, outputColumnNames, inputColumnNames, TensorFlowUtils.LoadTensorFlowModel(env, modelLocation), addBatchDimensionInput) 997: this(env, options, TensorFlowUtils.LoadTensorFlowModel(env, options.ModelLocation, options.TreatOutputAsBatched))