Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for has_func (0.43 sec)

  1. tensorflow/compiler/jit/xla_cluster_util.cc

      // attribute that do not make function calls.
      return absl::c_any_of(n.def().attr(),
                            [](const std::pair<string, AttrValue>& name_attr_pair) {
                              return name_attr_pair.second.has_func();
                            });
    }
    bool IsShapeConsumerOp(const Node& node) {
      return node.type_string() == "Shape" || node.type_string() == "Rank" ||
             node.type_string() == "Size";
    }
    
    namespace {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 08:39:39 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      try_use_original_func_name(node_def.mutable_op());
    
      // Change any function attributes in the attrs.
      for (auto& iter : attrs) {
        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      try_use_original_func_name(node_def.mutable_op());
    
      // Change any function attributes in the attrs.
      for (auto& iter : attrs) {
        auto& attr = iter.second;
        if (attr.has_func()) {
          try_use_original_func_name(attr.mutable_func()->mutable_name());
        } else if (attr.has_list()) {
          for (auto& func_attr : *attr.mutable_list()->mutable_func()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/passbm_test.go

    func BenchmarkMultiPassBlock(b *testing.B) { benchFnBlock(b, multi, genFunction) }
    
    // benchFnPass runs passFunc b.N times across a single function.
    func benchFnPass(b *testing.B, fn passFunc, size int, bg blockGen) {
    	b.ReportAllocs()
    	c := testConfig(b)
    	fun := c.Fun("entry", bg(size)...)
    	CheckFunc(fun.f)
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		fn(fun.f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  5. src/crypto/ed25519/ed25519.go

    	return bytes.Clone(priv[:SeedSize])
    }
    
    // Sign signs the given message with priv. rand is ignored and can be nil.
    //
    // If opts.HashFunc() is [crypto.SHA512], the pre-hashed variant Ed25519ph is used
    // and message is expected to be a SHA-512 hash, otherwise opts.HashFunc() must
    // be [crypto.Hash](0) and the message must not be hashed, as Ed25519 performs two
    // passes over messages to be signed.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  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