Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 184 for narg (0.53 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testInvalidWhileRegionConditionOutputType(%arg : tensor<i32>) -> (tensor<i32>) {
      // expected-error @+1 {{'tf.WhileRegion' op condition should have a single tensor<i1> result}}
      %0 = "tf.WhileRegion"(%arg) (
         {
           ^bb0(%carg: tensor<i32>):
            "tf.Yield"(%carg) : (tensor<i32>) -> ()
         },
         {
           ^bb0(%barg: tensor<i32>):
            "tf.Yield"(%barg) : (tensor<i32>) -> ()
         }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  2. src/syscall/dll_windows.go

    // Deprecated: Use [SyscallN] instead.
    func Syscall(trap, nargs, a1, a2, a3 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall6(trap, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err Errno)
    
    // Deprecated: Use [SyscallN] instead.
    func Syscall9(trap, nargs, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, err Errno)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/preserve-entry-func-names.mlir

        tf_executor.fetch %4#0 : tensor<10xi32>
      }
      func.return %graph : tensor<10xi32>
    }
    
    // CHECK: name: "foo"
    // CHECK-NEXT: op: "_Arg"
    // CHECK: name: "bar"
    // CHECK-NEXT: op: "_Arg"
    // CHECK: name: "[[BAR_ID_0:.*]]"
    // CHECK-NEXT: op: "Identity"
    // CHECK-NEXT: input: "bar"
    // CHECK: name: "[[BAR_ID_1:.*]]"
    // CHECK-NEXT: op: "Identity"
    // CHECK-NEXT: input: "[[BAR_ID_0]]"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 22:54:55 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/testdata/testprogcgo/pprof.go

    // since runtime/pprof ignores the runtime.goexit base frame if it exists.
    void pprofCgoTraceback(void* parg) {
    	struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg);
    	arg->buf[0] = (uintptr_t)(cpuHog) + 0x10;
    	arg->buf[1] = (uintptr_t)(cpuHog2) + 0x4;
    	arg->buf[2] = 0;
    }
    */
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    	"runtime/pprof"
    	"time"
    	"unsafe"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 12 19:45:58 UTC 2021
    - 1.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-control-dep.pbtxt

          input_arg {
            name: "arg"
            type: DT_INT32
          }
          output_arg {
            name: "return_value"
            type: DT_INT32
          }
        }
        # Drop the control dependency on arg for the node "test"
        # CHECK-LABEL: func private @foo
        # CHECK: tf_executor.island wraps "tf.Const"()
        node_def {
          name: "test"
          op: "Const"
          input: "^arg"
          attr {
            key: "dtype"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 11 19:14:04 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  6. src/runtime/testdata/testprogcgo/threadpprof.go

    // C thread are in cpuHog.
    void pprofCgoThreadTraceback(void* parg) {
    	struct cgoTracebackArg* arg = (struct cgoTracebackArg*)(parg);
    	if (pthread_self() == tid) {
    		arg->buf[0] = (uintptr_t)(cpuHogThread) + 0x10;
    		arg->buf[1] = (uintptr_t)(cpuHogThread2) + 0x4;
    		arg->buf[2] = 0;
    	} else
    		arg->buf[0] = 0;
    }
    
    static void* cpuHogDriver(void* arg __attribute__ ((unused))) {
    	while (1) {
    		cpuHogThread();
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 17 22:59:31 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      auto arg0 = ops::_Arg(scope.WithOpName("a_0_arg"), DT_INT32, 0);
      auto arg1 = ops::_Arg(scope.WithOpName("b_0_arg"), DT_FLOAT, 1);
      auto arg2 = ops::_Arg(scope.WithOpName("c_0_arg"), DT_INT32, 2);
      auto arg3 = ops::_Arg(scope.WithOpName("d_0_arg"), DT_FLOAT, 3);
    
      auto arg4 = ops::_Arg(scope.WithOpName("u_0_arg"), DT_RESOURCE, 4);
      auto arg5 = ops::_Arg(scope.WithOpName("v_0_arg"), DT_RESOURCE, 5);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_compile_util.cc

      // TODO(b/74182462): We implement this by creating a new dummy Graph including
      // _Arg nodes, and let CompileGraph walk it. This could be optimized.
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
    
      // First create the actual node we care about computing.
      TF_ASSIGN_OR_RETURN(Node * main_node, graph->AddNode(node_def));
    
      // Create dummy _Arg nodes. Link these to `node` and also via a control
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/runtime/syscall_solaris.go

    // package.
    
    //go:nosplit
    //go:linkname syscall_sysvicall6
    //go:cgo_unsafe_args
    func syscall_sysvicall6(fn, nargs, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
    	call := libcall{
    		fn:   fn,
    		n:    nargs,
    		args: uintptr(unsafe.Pointer(&a1)),
    	}
    	entersyscallblock()
    	asmcgocall(unsafe.Pointer(&asmsysvicall6x), unsafe.Pointer(&call))
    	exitsyscall()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/call.go

    		j := n
    		for _, i := range genericArgs {
    			arg := args[i]
    			asig := arg.typ.(*Signature)
    			k := j + asig.TypeParams().Len()
    			// targs[j:k] are the inferred type arguments for asig
    			arg.typ = check.instantiateSignature(call.Pos(), arg.expr, asig, targs[j:k], nil) // TODO(gri) provide xlist if possible (partial instantiations)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top