58 references to ValueOneofCase
Microsoft.ML.OnnxTransformer (58)
OnnxTypeParser.cs (9)
81
if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.TensorType)
94
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.SequenceType)
100
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.MapType)
225
if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.TensorType)
245
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.SequenceType)
251
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.MapType)
290
if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.TensorType)
332
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.SequenceType)
359
else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.
ValueOneofCase
.MapType)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (49)
4342
case
ValueOneofCase
.TensorType:
4345
case
ValueOneofCase
.SequenceType:
4348
case
ValueOneofCase
.MapType:
4351
case
ValueOneofCase
.SparseTensorType:
4354
case
ValueOneofCase
.OpaqueType:
4376
get { return valueCase_ ==
ValueOneofCase
.TensorType ? (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.Tensor)value_ : null; }
4380
valueCase_ = value == null ?
ValueOneofCase
.None :
ValueOneofCase
.TensorType;
4392
get { return valueCase_ ==
ValueOneofCase
.SequenceType ? (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.Sequence)value_ : null; }
4396
valueCase_ = value == null ?
ValueOneofCase
.None :
ValueOneofCase
.SequenceType;
4408
get { return valueCase_ ==
ValueOneofCase
.MapType ? (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.Map)value_ : null; }
4412
valueCase_ = value == null ?
ValueOneofCase
.None :
ValueOneofCase
.MapType;
4421
get { return valueCase_ ==
ValueOneofCase
.SparseTensorType ? (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.SparseTensor)value_ : null; }
4425
valueCase_ = value == null ?
ValueOneofCase
.None :
ValueOneofCase
.SparseTensorType;
4434
get { return valueCase_ ==
ValueOneofCase
.OpaqueType ? (global::Microsoft.ML.Model.OnnxConverter.OnnxCSharpToProtoWrapper.TypeProto.Types.Opaque)value_ : null; }
4438
valueCase_ = value == null ?
ValueOneofCase
.None :
ValueOneofCase
.OpaqueType;
4472
private
ValueOneofCase
valueCase_ =
ValueOneofCase
.None;
4474
public
ValueOneofCase
ValueCase
4482
valueCase_ =
ValueOneofCase
.None;
4517
if (valueCase_ ==
ValueOneofCase
.TensorType) hash ^= TensorType.GetHashCode();
4518
if (valueCase_ ==
ValueOneofCase
.SequenceType) hash ^= SequenceType.GetHashCode();
4519
if (valueCase_ ==
ValueOneofCase
.MapType) hash ^= MapType.GetHashCode();
4520
if (valueCase_ ==
ValueOneofCase
.SparseTensorType) hash ^= SparseTensorType.GetHashCode();
4521
if (valueCase_ ==
ValueOneofCase
.OpaqueType) hash ^= OpaqueType.GetHashCode();
4540
if (valueCase_ ==
ValueOneofCase
.TensorType)
4545
if (valueCase_ ==
ValueOneofCase
.SequenceType)
4550
if (valueCase_ ==
ValueOneofCase
.MapType)
4560
if (valueCase_ ==
ValueOneofCase
.OpaqueType)
4565
if (valueCase_ ==
ValueOneofCase
.SparseTensorType)
4580
if (valueCase_ ==
ValueOneofCase
.TensorType)
4584
if (valueCase_ ==
ValueOneofCase
.SequenceType)
4588
if (valueCase_ ==
ValueOneofCase
.MapType)
4592
if (valueCase_ ==
ValueOneofCase
.SparseTensorType)
4596
if (valueCase_ ==
ValueOneofCase
.OpaqueType)
4624
case
ValueOneofCase
.TensorType:
4631
case
ValueOneofCase
.SequenceType:
4638
case
ValueOneofCase
.MapType:
4645
case
ValueOneofCase
.SparseTensorType:
4652
case
ValueOneofCase
.OpaqueType:
4678
if (valueCase_ ==
ValueOneofCase
.TensorType)
4689
if (valueCase_ ==
ValueOneofCase
.SequenceType)
4700
if (valueCase_ ==
ValueOneofCase
.MapType)
4716
if (valueCase_ ==
ValueOneofCase
.OpaqueType)
4727
if (valueCase_ ==
ValueOneofCase
.SparseTensorType)