This commit is contained in:
sugarme 2022-01-17 17:20:40 +11:00
parent 45ff5b2e5b
commit b1fa1004e0

View File

@ -202,7 +202,6 @@ func (iv *IValue) ToCIValue() (*CIValue, error) {
case "Tuple":
val := reflect.Indirect(reflect.ValueOf(iv.value))
fmt.Printf("val: %v\n", val)
switch {
// 1. Tuple is (Tensor, Tensor)
case val.Type() == reflect.TypeOf([]Tensor{}):