mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-29 20:14:01 +00:00
Fix error message in Cast op (#1792)
This commit is contained in:
parent
f9d85d654a
commit
206278ca44
1 changed files with 1 additions and 1 deletions
|
|
@ -352,7 +352,7 @@ Status Cast<MLFloat16>::Compute(OpKernelContext* context) const {
|
|||
st = CastFloat16Data<MLFloat16, int8_t>(X, Y, shape, context);
|
||||
break;
|
||||
case TensorProto_DataType_STRING:
|
||||
ORT_THROW("Casting to and from strings is not supported yet."); /*break;*/
|
||||
ORT_THROW("Casting from 'float16' to 'string' is not supported yet."); /*break;*/
|
||||
case TensorProto_DataType_UNDEFINED:
|
||||
ORT_THROW("Cast op must have 'to' argument of type DataType"); /*break;*/
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue