Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 279 for attr_ (0.04 sec)

  1. src/encoding/xml/read_test.go

    	BFalse bool    `xml:",attr"`
    	BTrue  bool    `xml:",attr"`
    	I      int     `xml:",attr"`
    	INeg   int     `xml:",attr"`
    	I8     int8    `xml:",attr"`
    	I8Neg  int8    `xml:",attr"`
    	I16    int16   `xml:",attr"`
    	I16Neg int16   `xml:",attr"`
    	I32    int32   `xml:",attr"`
    	I32Neg int32   `xml:",attr"`
    	I64    int64   `xml:",attr"`
    	I64Neg int64   `xml:",attr"`
    	UI     uint    `xml:",attr"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

    }
    
    Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) {
      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc

        op_state.addOperands(op.getOperands());
        op_state.addTypes(op.getResultTypes());
    
        SmallVector<NamedAttribute, 2> attrs;
        std::string parsed_op_name;
        tensorflow::NodeDef node_def;
        if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(),
                                     parsed_op_name, attrs, node_def))) {
          return failure();
        }
        if (parsed_op_name != tf_op_name) {
          return op.emitOpError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc

        std::vector<NamedAttribute> attrs = contraction->getAttrs();
        ArrayAttr fused_ops_attr = ArrayAttr::get(context, fused_ops);
        attrs.push_back(
            NamedAttribute(StringAttr::get(context, "fused_ops"), fused_ops_attr));
        // Epsilon is used only in fusions with the FusedBatchNorm op, so we zero it
        // here.
        Attribute epsilon = rewriter.getF32FloatAttr(0);
        attrs.push_back(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/shape_inference.cc

                  value.add_int64_val(dim.size());
                }
              }
              AddNodeAttr("value", value, &const_def);
              for (auto const& attr : n->attrs()) {
                if (*attr.first.begin() == '_') {
                  AddNodeAttr(attr.first, attr.second, &const_def);
                }
              }
    
              TF_ASSIGN_OR_RETURN(Node * const_node, graph->AddNode(const_def));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

            // Same type repeated "repeats" times.
            Attribute attr = attrs_[output_arg.type_attr()];
            if (!attr)
              return InvalidArgument("Missing attribute '", output_arg.type_attr(),
                                     "' required for output '", output_arg.name(),
                                     "'");
            TypedAttr type_attr = mlir::dyn_cast<TypedAttr>(attr);
            if (!type_attr)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  7. src/log/slog/doc.go

    # Attrs and Values
    
    An [Attr] is a key-value pair. The Logger output methods accept Attrs as well as
    alternating keys and values. The statement
    
    	slog.Info("hello", slog.Int("count", 3))
    
    behaves the same as
    
    	slog.Info("hello", "count", 3)
    
    There are convenience constructors for [Attr] such as [Int], [String], and [Bool]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 15 14:35:48 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let description = [{
        The `attr` operation stores TF op's attribute, which doesn't support
        arithmetic operations.
    
        Example:
    
        ```mlir
        %1 = "tfr.constant"() { value: i32 } : () -> !tfr.attr
        %2 = "tfr.constant"() { value: [i32, f32] } : () -> !tfr.attr
        %3 = tfr.constant [i32, f32] -> !tfr.attr
        %4 = tfr.constant f32 -> !tfr.attr
        ```
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-prefer-tf2xla.mlir

    to create tf2xla kernel: INVALID_ARGUMENT: NodeDef missing attrs 'shrink_axis_mask', 'new_axis_mask', 'begin_mask', 'ellipsis_mask', 'end_mask' from Op<name=StridedSlice; signature=input:T, begin:Index, end:Index, strides:Index -> output:T; attr=T:type; attr=Index:type,allowed=[DT_INT16, DT_INT32, DT_INT64]; attr=begin_mask:int,default=0; attr=end_mask:int,default=0; attr=ellipsis_mask:int,default=0; attr=new_axis_mask:int,default=0; attr=shrink_axis_mask:int,default=0>; NodeDef: {{node tf.StridedSlice}}}}...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/aot/tfcompile.bzl

        attrs = {
            "model_name": attr.string(),
            "srcs": attr.label_list(mandatory = True, allow_files = True),
            "header_out": attr.output(),
            "cmd": attr.string(),
            "tfcompile_tool": attr.label(cfg = "exec", executable = True, allow_files = True),
            "tfcompile_graph": attr.label(allow_single_file = True),
            "tfcompile_config": attr.label(allow_single_file = True),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 19:18:08 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top