Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for has_func (0.46 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_remaining_ops.cc

      }
    
      func::FuncOp func = module_for_func->lookupSymbol<func::FuncOp>("host_func");
      if (!func)
        return op.emitError()
               << "serialized module in attribute 'host_mlir_module' does not "
                  "contain 'host_func' function.";
    
      if (op->getNumOperands() != func.getFunctionType().getNumInputs())
        return op.emitError()
               << "'host_func' has " << func.getFunctionType().getNumInputs()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 20:05:58 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  2. src/crypto/tls/auth.go

    		}
    		if err := rsa.VerifyPKCS1v15(pubKey, hashFunc, signed, sig); err != nil {
    			return err
    		}
    	case signatureRSAPSS:
    		pubKey, ok := pubkey.(*rsa.PublicKey)
    		if !ok {
    			return fmt.Errorf("expected an RSA public key, got %T", pubkey)
    		}
    		signOpts := &rsa.PSSOptions{SaltLength: rsa.PSSSaltLengthEqualsHash}
    		if err := rsa.VerifyPSS(pubKey, hashFunc, signed, sig, signOpts); err != nil {
    			return err
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:45:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. src/cmd/link/internal/wasm/asm.go

    const funcValueOffset = 0x1000 // TODO(neelance): make function addresses play nice with heap addresses
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    }
    
    type wasmFunc struct {
    	Module string
    	Name   string
    	Type   uint32
    	Code   []byte
    }
    
    type wasmFuncType struct {
    	Params  []byte
    	Results []byte
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 16:17:48 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir

      // CHECK-SAME: recv_key = "host_compute_channel_recv"
      // CHECK-SAME: send_key = "host_compute_channel_send"
      // CHECK-SAME: shape_inference_graph = @host_func
      // CHECK-SAME: shapes = [#tf_type.shape<*>, #tf_type.shape<3x?>]
      // CHECK-SAME: tpu_core = 0 : i64
      // CHECK: func @host_func
      // CHECK: %[[RECV_OUTPUT:[0-9]*]]:2 = "tf._XlaRecvAtHost"
      // CHECK-SAME: key = "host_compute_channel_send"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 18:46:36 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  5. src/runtime/internal/startlinetest/func_amd64.go

    // Package startlinetest contains helpers for runtime_test.TestStartLineAsm.
    package startlinetest
    
    // Defined in func_amd64.s, this is a trivial assembly function that calls
    // runtime_test.callerStartLine.
    func AsmFunc() int
    
    // Provided by runtime_test.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:33 UTC 2022
    - 452 bytes
    - Viewed (0)
  6. src/runtime/start_line_amd64_test.go

    // copies of this function.
    func TestStartLineAsm(t *testing.T) {
    	startlinetest.CallerStartLine = callerStartLine
    
    	const wantLine = 23
    	got := startlinetest.AsmFunc()
    	if got != wantLine {
    		t.Errorf("start line got %d want %d", got, wantLine)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:33 UTC 2022
    - 647 bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    	retRegs []string
    	// calculated during initialization
    	sizes    types.Sizes
    	intSize  int
    	ptrSize  int
    	maxAlign int
    }
    
    // An asmFunc describes the expected variables for a function on a given architecture.
    type asmFunc struct {
    	arch        *asmArch
    	size        int // size of all arguments
    	vars        map[string]*asmVar
    	varByOffset map[int]*asmVar
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. src/runtime/internal/startlinetest/func_amd64.s

    //
    // Thus it is simpler to just put this in its own package, imported only by
    // runtime_test. We use ABIInternal as no ABI wrapper is generated for
    // callerStartLine since it is in a different package.
    
    TEXT	·AsmFunc<ABIInternal>(SB),NOSPLIT,$8-0
    	NO_LOCAL_POINTERS
    	MOVQ	$0, AX // wantInlined
    	MOVQ	·CallerStartLine(SB), DX
    	CALL	(DX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 22 04:34:33 UTC 2022
    - 1K bytes
    - Viewed (0)
  9. src/crypto/tls/prf.go

    func prf12(hashFunc func() hash.Hash) func(result, secret, label, seed []byte) {
    	return func(result, secret, label, seed []byte) {
    		labelAndSeed := make([]byte, len(label)+len(seed))
    		copy(labelAndSeed, label)
    		copy(labelAndSeed[len(label):], seed)
    
    		pHash(result, secret, labelAndSeed, hashFunc)
    	}
    }
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 16:29:49 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/api/v1/testdata/prepare_to_library.mlir

     %1965:4 = "tf._XlaHostComputeMlir"(%0, %cst_34, %cst_63, %cst_33) <{host_mlir_module = "#loc1 = loc(\22Reshape:\22)\0A#loc2 = loc(\22Reshape_4\22)\0A#loc3 = loc(\22Reshape\22)\0A#loc9 = loc(fused[#loc1, #loc2, #loc3])\0Amodule {\0A  func.func @host_func(%arg0: tensor<3360x?xi32> loc(fused[#loc1, #loc2, #loc3]), %arg1: tensor<3xi32> loc(fused[#loc1, #loc2, #loc3]), %arg2: tensor<i32> loc(fused[#loc1, #loc2, #loc3]), %arg3: tensor<2xi32> loc(fused[#loc1, #loc2, #loc3])) -> (tensor<1x1120x?xi32>, ...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:44:50 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top