Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for attr_name (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          op_name: Name of the op to match.
          attr_name: Name of the attribute of the op to match.
          attr_val: Value of the attr_name to check.
          node_name: Name of the node to match. Accepts regex2 format.
    
        Returns:
          True if there exists a node whose name matches `op_name` and 'attr_val' if
          'attr_name' is given.
        """
    
        def match_node_name(name):
          if not node_name:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          std::vector<std::string> attr_names = {
              TF::kReplicationInfoAttr.str(), "_xla_compile_device_type",
              kEmbeddingPipelining, "_xla_outside_compilation", "device"};
          for (const auto& attr_name : attr_names) {
            if (!global_iter_id_op->hasAttr(attr_name)) continue;
            offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name));
            new_global_iter_id->setAttr(attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      return std::nullopt;
    }
    
    // Returns true iff the attribute `attr_name` is attached to either the node or
    // to it's callee.
    static bool GetNodeOrFuncAttr(Node* node, FunctionLibraryDefinition* flib_def,
                                  const char* attr_name) {
      bool out = false;
      bool attr_value;
      if (TryGetNodeAttr(node->attrs(), attr_name, &attr_value)) {
        out |= attr_value;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

    // That will require setting up the tensorflow build with gmock.
    #define EXPECT_TF_META(attr_name, expected_list_size, expected_type, \
                           expected_total_size)                          \
      do {                                                               \
        auto m = TF_OperationGetAttrMetadata(oper, attr_name, s_);       \
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);              \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    // function, this map (map1) is in {attr_name_1: attr_identifier} format; and in
    // the float function, this map (map2) is in {attr_identifier: attr_name_2}
    // format. Where, the attribute identifiers should match between two maps,
    // attr_name_1 is the name of the of the attribute needs to be set in the
    // quantized function, attr_name_2 is the name of the attribute corresponding to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                Stream.of(attrUidNumber, attrGidNumber)
                        .forEach(attrName -> OptionalUtil.ofNullable(attributes.get(attrName)).filter(StringUtil::isNotBlank).ifPresent(s -> {
                            try {
                                DfTypeUtil.toLong(s);
                            } catch (final NumberFormatException e) {
                                consumer.accept(attrName);
                            }
                        }));
            } else {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/dwarf.go

    			a.Link = b.Link
    			b.Link = die.Attr
    			die.Attr = b
    			return b
    		}
    
    		a = b
    		b = b.Link
    	}
    
    	return nil
    }
    
    // Every DIE manufactured by the linker has at least an AT_name
    // attribute (but it will only be written out if it is listed in the abbrev).
    // The compiler does create nameless DWARF DIEs (ex: concrete subprogram
    // instance).
    // FIXME: it would be more efficient to bulk-allocate DIEs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 72.4K bytes
    - Viewed (0)
  8. src/cmd/cgo/gcc.go

    	// Scan DWARF info for top-level TagVariable entries with AttrName __cgo__i.
    	types := make([]dwarf.Type, len(names))
    	r := d.Reader()
    	for {
    		e, err := r.Next()
    		if err != nil {
    			fatalf("reading DWARF entry: %s", err)
    		}
    		if e == nil {
    			break
    		}
    		switch e.Tag {
    		case dwarf.TagVariable:
    			name, _ := e.Val(dwarf.AttrName).(string)
    			// As of https://reviews.llvm.org/D123534, clang
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top