Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for attr_key (0.26 sec)

  1. tensorflow/compiler/jit/compilability_check_util_test.cc

          /*out_def=*/{"res:float"},
          /*attr_def=*/{},
          /*node_def=*/{{{"t0"}, "Identity", {"x"}, {{"T", DT_FLOAT}}}},
          /*ret_def*/ {{"res", "t0:output"}});
    
      (*identity_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute;
    
      FunctionDef call_identity = FunctionDefHelper::Create(
          "CallIdentity",
          /*in_def=*/{"x:float"},
          /*out_def=*/{"z:float"}, /*attr_def=*/{},
          /*node_def=*/
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/build_xla_ops_pass_test.cc

    FunctionDefLibrary CreateFunctionDefLibWithConstFunction(const string& name) {
      FunctionDefLibrary fdef_lib;
      FunctionDef func = FunctionDefHelper::Create(
          /*function_name=*/name, /*in_def=*/{}, /*out_def=*/{"out: float"},
          /*attr_def*/
          {}, /*node_def=*/{FunctionDefHelper::Const("one", 1.0f)},
          /*ret_def=*/{{"out", "out:output:0"}});
      *fdef_lib.add_function() = std::move(func);
      return fdef_lib;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

      // Collect all the registered attributes.
      llvm::DenseSet<llvm::StringRef> registered_attrs;
      registered_attrs.insert("name");
      registered_attrs.insert("device");
      for (const auto& attr_def : op_reg_data->op_def.attr()) {
        registered_attrs.insert(attr_def.name());
      }
      // Attributes are not in the registered attributes set will be ignored.
      for (auto& attr : inst->getAttrs()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. cmd/sftp-server.go

    		return nil, errSFTPUserHasNoPolicies
    	}
    
    	claims := make(map[string]interface{})
    	for attribKey, attribValue := range lookupResult.Attributes {
    		// we skip multi-value attributes here, as they cannot
    		// be stored in the critical options.
    		if len(attribValue) != 1 {
    			continue
    		}
    
    		if attribKey == "sshPublicKey" && key != nil {
    			key2, _, _, _, err := ssh.ParseAuthorizedKey([]byte(attribValue[0]))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. cmd/admin-handlers-idp-ldap.go

    			return
    		}
    
    		// Add LDAP attributes that were looked up into the claims.
    		for attribKey, attribValue := range lookupResult.Attributes {
    			opts.claims[ldapAttribPrefix+attribKey] = attribValue
    		}
    	}
    
    	newCred, updatedAt, err := globalIAMSys.NewServiceAccount(ctx, targetUser, targetGroups, opts)
    	if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 19:58:48 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. cmd/ftp-server-driver.go

    			claims[ldapActualUser] = lookupResult.ActualDN
    			claims[ldapUserN] = ctx.Sess.LoginUser()
    
    			// Add LDAP attributes that were looked up into the claims.
    			for attribKey, attribValue := range lookupResult.Attributes {
    				claims[ldapAttribPrefix+attribKey] = attribValue
    			}
    
    			cred, err := auth.GetNewCredentialsWithMetadata(claims, globalActiveCred.SecretKey)
    			if err != nil {
    				return nil, err
    			}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 14K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

    FunctionDef PassThroughResource() {
      return FunctionDefHelper::Define(
          /*function_name=*/"PassThroughResource",
          /*arg_def=*/{"in: resource"},
          /*ret_def=*/{"out: resource"},
          /*attr_def=*/{},
          /*node_def=*/
          {{{"out"}, "Identity", {"in"}, {{"T", DataType::DT_RESOURCE}}}});
    }
    
    TEST(IsSupportedByNonReplicatedBridge, NonReplicatedGraph) {
      const FunctionDef& fd = PassThroughResource();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/resource_operation_safety_analysis_test.cc

    FunctionDefLibrary CreateFunctionDefLibWithConstFunction(const string& name) {
      FunctionDefLibrary flib_def;
      FunctionDef func = FunctionDefHelper::Create(
          /*function_name=*/name, /*in_def=*/{}, /*out_def=*/{"out: float"},
          /*attr_def*/
          {}, /*node_def=*/{FunctionDefHelper::Const("one", 1.0f)},
          /*ret_def=*/{{"out", "out:output:0"}});
      *flib_def.add_function() = std::move(func);
      return flib_def;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 28 16:53:59 UTC 2020
    - 18.7K bytes
    - Viewed (0)
  9. cmd/admin-handlers-users.go

    		opts.claims[ldapUser] = targetUser // username DN
    		opts.claims[ldapActualUser] = lookupResult.ActualDN
    
    		// Add LDAP attributes that were looked up into the claims.
    		for attribKey, attribValue := range lookupResult.Attributes {
    			opts.claims[ldapAttribPrefix+attribKey] = attribValue
    		}
    
    		// NOTE: if not using LDAP, then internal IDP or open ID is
    		// being used - in the former, group info is enforced when
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:19:04 UTC 2024
    - 78.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      FunctionDefLibrary flib_def;
      FunctionDef func = FunctionDefHelper::Create(
          /*function_name=*/"Stateful_func", /*in_def=*/{},
          /*out_def=*/{"out: int32"},
          /*attr_def*/
          {}, /*node_def=*/
          {FunctionDefHelper::Const("shape_shape", 2),
           FunctionDefHelper::Const("minval", 1),
           FunctionDefHelper::Const("maxval", 20),
           {{"shape"},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
Back to top