Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for attr_key (0.08 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    }
    
    // Helper method that returns list of all strings in a StringAttr identified
    // by 'attr_key' and values are separated by a comma.
    llvm::SmallVector<llvm::StringRef, 2> GetStringsFromAttrWithSeparator(
        mlir::DictionaryAttr attr, const std::string& attr_key) {
      llvm::SmallVector<llvm::StringRef, 2> result;
      if (auto str = attr.get(attr_key).dyn_cast_or_null<mlir::StringAttr>()) {
        str.getValue().split(result, ',', /*MaxSplit=*/-1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        'SplitV': {'axis': 'split_dim'},
    }
    
    
    def _get_type_from_proto(arg_def=None, attr_def=None):
      if not arg_def:
        if attr_def.type == 'bool':
          return TFRTypes.I1
        elif attr_def.type == 'int32':
          return TFRTypes.I32
        elif attr_def.type == 'int' or attr_def.type == 'int64':
          return TFRTypes.I64
        elif attr_def.type == 'float':
          return TFRTypes.F32
        else:
          return TFRTypes.ATTR
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  3. 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)
  4. 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