Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 841 for argN (0.16 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/library/regex.go

    			argn := len(args)
    			if argn < 2 || argn > 3 {
    				return types.NoSuchOverloadErr()
    			}
    			str, ok := args[0].Value().(string)
    			if !ok {
    				return types.MaybeNoSuchOverloadErr(args[0])
    			}
    			n := int64(-1)
    			if argn == 3 {
    				n, ok = args[2].Value().(int64)
    				if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/_gen/genericOps.go

    	// Memory operations
    	{name: "Load", argLength: 2},                          // Load from arg0.  arg1=memory
    	{name: "Dereference", argLength: 2},                   // Load from arg0.  arg1=memory.  Helper op for arg/result passing, result is an otherwise not-SSA-able "value".
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:49:20 UTC 2024
    - 42.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/codegen_test_h.golden

    // XlaCompiledCpuFunction class with statically type-safe arg and result
    // methods. Usage example:
    //
    //   MyClass computation;
    //   // ...set args using computation.argN methods
    //   CHECK(computation.Run());
    //   // ...inspect results using computation.resultN methods
    //
    // The Run method invokes the actual computation, with inputs read from arg
    // buffers, and outputs written to result buffers. Each Run call may also use
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/cel/library/authz.go

    }
    
    func authorizerGroup(arg1, arg2 ref.Val) ref.Val {
    	authz, ok := arg1.(authorizerVal)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(arg1)
    	}
    
    	group, ok := arg2.Value().(string)
    	if !ok {
    		return types.MaybeNoSuchOverloadErr(arg1)
    	}
    
    	return authz.groupCheck(group)
    }
    
    func authorizerServiceAccount(args ...ref.Val) ref.Val {
    	argn := len(args)
    	if argn != 3 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 21.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/aot/tests/tfcompile_test.cc

      // Test using the argN() methods.
      {
        matmul.arg0(0, 0) = 1;
        matmul.arg0(0, 1) = 2;
        matmul.arg0(0, 2) = 3;
        matmul.arg0(1, 0) = 4;
        matmul.arg0(1, 1) = 5;
        matmul.arg0(1, 2) = 6;
    
        matmul.arg1(0, 0) = 7;
        matmul.arg1(0, 1) = 8;
        matmul.arg1(1, 0) = 9;
        matmul.arg1(1, 1) = 10;
        matmul.arg1(2, 0) = 11;
        matmul.arg1(2, 1) = 12;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 26.4K bytes
    - Viewed (0)
  6. src/html/template/escape.go

    // fmt.Sprint(args...), except that it dereferences all pointers.
    func evalArgs(args ...any) string {
    	// Optimization for simple common case of a single string argument.
    	if len(args) == 1 {
    		if s, ok := args[0].(string); ok {
    			return s
    		}
    	}
    	for i, arg := range args {
    		args[i] = indirectToStringerOrError(arg)
    	}
    	return fmt.Sprint(args...)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

    // If the region only does a single function call whose operands / returns match
    // exactly the block args and results, return the name of the called function.
    std::optional<StringRef> UnwrapSingleFunctionCall(Region& region) {
      // The pattern we're matching is
      // ^block(arg0, arg1, ..., argN):
      //   r0, r1, ..., rN = func.call @foo(arg0, arg1, ..., argN)
      //   "tf.yield"(r0, r1, ..., rN)
      if (!region.hasOneBlock()) return std::nullopt;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.mlir

    // Ensure lstm roundtrip exactly
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/shape-inference.mlir

    func.func @testUnidirectionalSequenceLstmShapeInference(%arg0: tensor<600 x 10 x 20 x f32>, %arg1: tensor<? x ? x f32>, %arg2: tensor<? x ? x f32>, %arg3: tensor<? x ? x f32>, %arg4: tensor<? x ? x f32>, %arg5: tensor<? x ? x f32>, %arg6: tensor<? x ? x f32>, %arg7: tensor<? x ? x f32>, %arg8: tensor<? x ? x f32>, %arg9: tensor<? x f32>, %arg10: tensor<? x f32>, %arg11: tensor<? x f32>, %arg12: tensor<? x f32>, %arg13: tensor<? x f32>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/codegen.cc

    //   // ...set args using computation.argN methods
    //   CHECK(computation.Run());
    //   // ...inspect results using computation.resultN methods
    //
    // The Run method invokes the actual computation, with inputs read from arg
    // buffers, and outputs written to result buffers. Each Run call may also use
    // a set of temporary buffers for the computation.
    //
    // By default each instance of this class manages its own arg, result and temp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top