mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
add bfloat16 to gathergrad type constrains (#6267)
Co-authored-by: Cheng Tang <chenta@microsoft.com>
This commit is contained in:
parent
2347de4a9e
commit
431604ef89
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ void RegisterTrainingOpSchemas() {
|
|||
"Constrain input shape to integer tensors.")
|
||||
.TypeConstraint(
|
||||
"T",
|
||||
{"tensor(float16)", "tensor(float)", "tensor(double)"},
|
||||
{"tensor(float16)", "tensor(float)", "tensor(double)", "tensor(bfloat16)"},
|
||||
"Constrain input and output types to float tensors.")
|
||||
.TypeConstraint(
|
||||
"Tind",
|
||||
|
|
|
|||
Loading…
Reference in a new issue