15 references to ValueCase
Microsoft.ML.OnnxTransformer (15)
OnnxTypeParser.cs (11)
81if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType) 94else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType) 100else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType) 224var oneOfFieldName = typeProto.ValueCase.ToString(); 225if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType) 245else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType) 251else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType) 289var oneOfFieldName = typeProto.ValueCase.ToString(); 290if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.TensorType) 332else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.SequenceType) 359else if (typeProto.ValueCase == OnnxCSharpToProtoWrapper.TypeProto.ValueOneofCase.MapType)
src\Microsoft.ML.OnnxConverter\OnnxMl.cs (4)
4340switch (other.ValueCase) 4509if (ValueCase != other.ValueCase) return false; 4622switch (other.ValueCase)