Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for attrType (0.52 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_utils.h

    // Ensure an attribute named attr_name exists and it is of type AttrType.
    // If so, sets the `out_attr` pointer to point to the casted attribute.
    template <typename AttrType>
    bool EnsureAttribute(const DictionaryAttr& composite_attributes,
                         const std::string& attr_name, AttrType* out_attr) {
      Attribute attr = composite_attributes.get(attr_name);
      if (!mlir::isa_and_nonnull<AttrType>(attr)) {
        return false;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 18:33:05 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			// refer to it via "C.<name>", so skip these vars
    			//
    			// See issue 53000 for more context.
    			if name == "" {
    				break
    			}
    			typOff, _ := e.Val(dwarf.AttrType).(dwarf.Offset)
    			if typOff == 0 {
    				if e.Val(dwarf.AttrSpecification) != nil {
    					// Since we are reading all the DWARF,
    					// assume we will see the variable elsewhere.
    					break
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. tensorflow/c/kernels.cc

      if (!status->status.ok()) {
        *list_size = -1;
        *total_size = -1;
        return;
      }
      switch (attr->value_case()) {
    #define SINGLE_CASE(kK, attr_type, size_expr) \
      case tensorflow::AttrValue::kK:             \
        *list_size = -1;                          \
        *total_size = size_expr;                  \
        break;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
Back to top