2 writes to ModelBytes
Microsoft.ML.OnnxTransformer (2)
OnnxTransform.cs (2)
342
ModelBytes
= modelBytes,
404
ModelBytes
= modelBytes,
4 references to ModelBytes
Microsoft.ML.OnnxTransformer (4)
OnnxTransform.cs (4)
259
if (options.
ModelBytes
== null)
271
Host.CheckValue(options.
ModelBytes
, nameof(options.
ModelBytes
));
273
Model = OnnxModel.CreateFromStream(options.
ModelBytes
, env, options.GpuDeviceId, options.FallbackToCpu, shapeDictionary: shapeDictionary, options.RecursionLimit);