Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 732 for attr_ (0.04 sec)

  1. src/log/slog/text_handler.go

    	return h.commonHandler.enabled(level)
    }
    
    // WithAttrs returns a new [TextHandler] whose attributes consists
    // of h's attributes followed by attrs.
    func (h *TextHandler) WithAttrs(attrs []Attr) Handler {
    	return &TextHandler{commonHandler: h.commonHandler.withAttrs(attrs)}
    }
    
    func (h *TextHandler) WithGroup(name string) Handler {
    	return &TextHandler{commonHandler: h.commonHandler.withGroup(name)}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      return absl::OkStatus();
    }
    
    Status Encapsulator::GetFunctionNameAttr(Node const* node, string* attr) const {
      AttrSlice attrs = node->attrs();
      attr->clear();
      for (const auto& node_attr : attrs) {
        if (node_attr.first == group_attribute_) {
          TF_RETURN_IF_ERROR(AttrValueHasType(node_attr.second, "string"));
          *attr = node_attr.second.s();
          break;
        }
      }
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  3. 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)
  4. src/encoding/xml/marshal_test.go

    type AttrTest struct {
    	Int   int     `xml:",attr"`
    	Named int     `xml:"int,attr"`
    	Float float64 `xml:",attr"`
    	Uint8 uint8   `xml:",attr"`
    	Bool  bool    `xml:",attr"`
    	Str   string  `xml:",attr"`
    	Bytes []byte  `xml:",attr"`
    }
    
    type AttrsTest struct {
    	Attrs []Attr  `xml:",any,attr"`
    	Int   int     `xml:",attr"`
    	Named int     `xml:"int,attr"`
    	Float float64 `xml:",attr"`
    	Uint8 uint8   `xml:",attr"`
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 18:46:41 UTC 2024
    - 66K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/func-attr-invalid.mlir

    A. Unique TensorFlower <******@****.***> 1651827499 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 06 09:05:45 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/ref-type-attr.mlir

    // RUN: tf-mlir-translate -mlir-to-graphdef %s -o - | FileCheck %s
    
    // Verify that attribute T is not set as ref type.
    // CHECK-LABEL: name: "Ref_Variable"
    // CHECK-LABEL: name: "foo"
    // CHECK:      attr {
    // CHECK-NEXT:   key: "T"
    // CHECK-NEXT:   value {
    // CHECK-NEXT:     type: DT_INT32{{$}}
    // CHECK-NEXT:   }
    // CHECK-NEXT: }
    
    func.func @main() {
      tf_executor.graph {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 775 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir

    Yifan Jiang <******@****.***> 1684349180 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 17 18:52:47 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/type/DefaultArtifactTypeRegistryTest.groovy

            def attrs = ImmutableAttributes.EMPTY
    
            expect:
            registry.mapAttributesFor(attrs, []) == attrs
        }
    
        def "does not apply any mapping when variant has no artifacts"() {
            def attrs = ImmutableAttributes.EMPTY
    
            given:
            registry.create().create("aar")
    
            expect:
            registry.mapAttributesFor(attrs, []) == attrs
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 11 14:43:17 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top