Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 81 for variadicOk (0.26 sec)

  1. src/go/types/subst.go

    				tparams: t.tparams,
    				// instantiated signatures have a nil scope
    				recv:     recv,
    				params:   params,
    				results:  results,
    				variadic: t.variadic,
    			}
    		}
    
    	case *Union:
    		terms, copied := subst.termlist(t.terms)
    		if copied {
    			// term list substitution may introduce duplicate terms (unlikely but possible).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:04:07 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/predicates.go

    					return false
    				}
    			}
    
    			yparams = check.subst(nopos, y.params, smap, nil, ctxt).(*Tuple)
    			yresults = check.subst(nopos, y.results, smap, nil, ctxt).(*Tuple)
    		}
    
    		return x.variadic == y.variadic &&
    			c.identical(x.params, yparams, p) &&
    			c.identical(x.results, yresults, p)
    
    	case *Union:
    		if y, _ := y.(*Union); y != nil {
    			// TODO(rfindley): can this be reached during type checking? If so,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize.mlir

       %4 = "quantfork.dcast"(%3) : (tensor<1x2x!quant.uniform<i8:f32, 6.000000e-03:-128>>) -> tensor<1x2xf32>
    // expected-error @+2 {{Failed to find a valid entry function}}
    // expected-error @+1 {{'tf.XlaCallModule' op operand #0 must be variadic of tensor of tf.dtype values}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 01:38:40 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  4. src/go/types/predicates.go

    					return false
    				}
    			}
    
    			yparams = check.subst(nopos, y.params, smap, nil, ctxt).(*Tuple)
    			yresults = check.subst(nopos, y.results, smap, nil, ctxt).(*Tuple)
    		}
    
    		return x.variadic == y.variadic &&
    			c.identical(x.params, yparams, p) &&
    			c.identical(x.results, yresults, p)
    
    	case *Union:
    		if y, _ := y.(*Union); y != nil {
    			// TODO(rfindley): can this be reached during type checking? If so,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:01:18 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/internal/types/testdata/check/issues0.go

    }
    
    func f0() (a []int)         { return }
    func f1() (a []int, b int)  { return }
    func f2() (a, b []int)      { return }
    
    func append_([]int, ...int) {}
    
    func issue9473(a []int, b ...int) {
    	// variadic builtin function
    	_ = append(f0())
    	_ = append(f0(), f0()...)
    	_ = append(f1())
    	_ = append(f2 /* ERRORx `cannot use .* in argument` */ ())
    	_ = append(f2()... /* ERROR "cannot use ..." */ )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/types/typeutil/map.go

    			hash += h.Hash(f.Type())
    		}
    		return hash
    
    	case *types.Pointer:
    		return 9067 + 2*h.Hash(t.Elem())
    
    	case *types.Signature:
    		var hash uint32 = 9091
    		if t.Variadic() {
    			hash *= 8863
    		}
    
    		// Use a separate hasher for types inside of the signature, where type
    		// parameter identity is modified to be (index, constraint). We must use a
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

            };
        if (tf_op->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>() ||
            tf_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) {
          // The op has multiple variadic operands or results.
          // Calculate operand and result segment sizes using the OpDef.
          tensorflow::NameRangeMap input_ranges, output_ranges;
          // This will fail only if the OpDef is syntactically invalid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    class TFL_VariadicTensorOf<list<Type> allowedRuntimeTypes,
                       list<Type> allowedOpTypes = [AnyType]> :
      Variadic<TensorOf<allowedOpTypes>>,
      TFL_RuntimeType<Variadic<TensorOf<allowedRuntimeTypes>>>;
    
    def TFL_I4 : I<4>;
    def TFL_Int32Or64 : SignlessIntOfWidths<[32, 64]>;
    
    def TFL_BoolTensor : TFL_TensorOf<[I1]>;
    def TFL_FpTensor : TFL_TensorOf<[F32]>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/universe.go

    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    	_Close:   {"close", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. src/go/types/universe.go

    	_Sizeof
    	_Slice
    	_SliceData
    	_String
    	_StringData
    
    	// testing support
    	_Assert
    	_Trace
    )
    
    var predeclaredFuncs = [...]struct {
    	name     string
    	nargs    int
    	variadic bool
    	kind     exprKind
    }{
    	_Append:  {"append", 1, true, expression},
    	_Cap:     {"cap", 1, false, expression},
    	_Clear:   {"clear", 1, false, statement},
    	_Close:   {"close", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.3K bytes
    - Viewed (0)
Back to top