Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 654 for attr_ (0.17 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

        device: The tensorflow device. eg. "/CPU:0"
        op_attrs: The tensorflow attributes excluding the func attrs.
        op_func_attrs: The func attrs.
        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          %out_ch = tfrt_fallback_async.createop(%in_ch) key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_sync.td

        device: The tensorflow device. eg. "/CPU:0"
        op_attrs: The tensorflow attributes excluding the func attrs.
        op_name: The tensorflow op name. eg. "tf.AddV2"
    
        Example:
          tfrt_fallback_sync.createop() key(0) device("/CPU:0")
            "some.op"() {attr1 = value, attr2 = value2} {f_attr1 = "fn1", f_attr2 = "fn2"} num_args(1)
      }];
    
      let arguments = (ins
        StrAttr:$node_def,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 07 21:12:01 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/arg-retval-attrs.pbtxt

      }
      attr {
        key: "_arg1_attr1"
        value {
          f: 8.0
        }
      }
      attr {
        key: "index"
        value {
          i: 1
        }
      }
    }
    node {
      name: "arg2"
      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_BOOL
        }
      }
      attr {
        key: "index"
        value {
          i: 2
        }
      }
    }
    node {
      name: "ret0"
      op: "_Retval"
      input: "arg0"
      attr {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 24 00:18:34 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributesSchemaTest.groovy

            schema.attribute(attr1)
            schema.attribute(attr2)
            producer.attribute(attr2)
            producer.attribute(attr3)
    
            expect:
            schema.withProducer(producer).selectionSchema.hasAttribute(attr1)
            schema.withProducer(producer).selectionSchema.hasAttribute(attr2)
            schema.withProducer(producer).selectionSchema.hasAttribute(attr3)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/function-func-attr.pbtxt

          name: "custom_relu"
        }
        attr {
          key: "_implements"
          value {
            func {
              name: "tensorflow.relu"
            }
          }
        }
      }
      function {
        signature {
          name: "custom_embedding_matmul"
        }
        attr {
          key: "_implements"
          value {
            func {
              name: "tensorflow.embedding_matmul"
              attr {
                key: "key1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Aug 01 20:09:54 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/log/slog/handler_test.go

    			replace:  func([]string, Attr) Attr { return Attr{} },
    			attrs:    []Attr{Group("g", Int("a", 1))},
    			wantText: "",
    			wantJSON: `{}`,
    		},
    		{
    			name: "replace empty 1",
    			with: func(h Handler) Handler {
    				return h.WithGroup("g").WithAttrs([]Attr{Int("a", 1)})
    			},
    			replace:  func([]string, Attr) Attr { return Attr{} },
    			attrs:    []Attr{Group("h", Int("b", 2))},
    			wantText: "",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 13:57:53 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/utils/utils.cc

          new llvm::StringSet<>({"asymmetric_quantize_inputs"});
      return *ops;
    }
    
    void CollectAllowedAttrs(CallOp src, NamedAttrList* attrs) {
      for (auto& attr : src->getAttrs()) {
        if (GetAllowedAttributes().contains(attr.getName().strref())) {
          attrs->append(attr);
        }
      }
    }
    
    // Adds `attrs` to all the operations between `begin` and `end` in the same
    // block. Does not include `end`.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

      for (auto attr : kQuantizationAxisAttrs) {
        if (defining_op->hasAttr(attr)) {
          return defining_op->getAttr(attr);
        }
      }
      // Not found.
      return rewriter.getI64IntegerAttr(-1);
    }
    
    LogicalResult CheckIfAttrIs8Bit(const std::string& attr, Operation* op,
                                    bool& is_8_bit) {
      Type element_type;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. src/log/slog/record.go

    		}
    	}
    	ne := countEmptyGroups(attrs[i:])
    	r.back = slices.Grow(r.back, len(attrs[i:])-ne)
    	for _, a := range attrs[i:] {
    		if !a.Value.isEmptyGroup() {
    			r.back = append(r.back, a)
    		}
    	}
    }
    
    // Add converts the args to Attrs as described in [Logger.Log],
    // then appends the Attrs to the [Record]'s list of Attrs.
    // It omits empty groups.
    func (r *Record) Add(args ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:30:56 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

          // will not use this representation.
          mlir::NamedAttrList attrs;
          for (const auto& func_attr : value.func().attr()) {
            TF_ASSIGN_OR_RETURN(auto attr,
                                ConvertAttributeValue(func_attr.second, builder));
            attrs.push_back(builder->getNamedAttr(func_attr.first, attr));
          }
          auto func_attrs = builder->getDictionaryAttr(attrs);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top