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