Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 831 for attr_ (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/func-attr.mlir

    // CHECK-SAME: tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}>
    func.func @func_attr() attributes {tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random"}>} {
      func.return
    }
    
    // CHECK-LABEL: func @nested_func_attr
    // CHECK-SAME: tf._implements = #tf_type.func<@symbol_a, {attr0 = 1 : i32, attr1 = "random", nested = #tf_type.func<@symbol_b, {attr2 = true, attr3 = 8.000000e+00 : f32}>}>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 725 bytes
    - Viewed (0)
  2. src/log/slog/attr.go

    //
    // Use Group to collect several key-value pairs under a single
    // key on a log line, or as the result of LogValue
    // in order to log a single value as multiple Attrs.
    func Group(key string, args ...any) Attr {
    	return Attr{key, GroupValue(argsToAttrSlice(args)...)}
    }
    
    func argsToAttrSlice(args []any) []Attr {
    	var (
    		attr  Attr
    		attrs []Attr
    	)
    	for len(args) > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 18:23:25 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/attributes/DefaultAttributeSelectionSchemaTest.groovy

            extraAttributes.contains(attr2)
            !extraAttributes.contains(attr1)
        }
    
        def "collects extra attributes, two candidates"() {
            def attr1 = Attribute.of("foo", String)
            def attr2 = Attribute.of("bar", String)
            def attr3 = Attribute.of("baz", String)
    
            given:
            ImmutableAttributes[] candidates = [
                candidate(ImmutableMap.of(attr1, "v1", attr2, "v2")),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 01 20:17:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/component/model/AttributeSelectionUtilsTest.groovy

            hasExtraAttribute(attr2)
            doesNotHaveExtraAttribute(attr1)
        }
    
        def "collects extra attributes, two candidates"() {
            def attr1 = Attribute.of("foo", String)
            def attr2 = Attribute.of("bar", String)
            def attr3 = Attribute.of("baz", String)
    
            given:
            candidate {
                attribute(attr1, "v1")
                attribute(attr2, "v2")
            }
            candidate {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops.mlir

      %result = tf_executor.graph {
        tf_executor.fetch %arg0 : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"}
      } {attr2 = 32 : i64, tf_executor.attr1 = "value1"}
    
    // CHECK:      tf_executor.graph {
    // CHECK-NEXT:    tf_executor.fetch %{{.*}} : tensor<*xf32> {attr3 = 32 : i64, tf_executor.attr_fetch = "some_value"}
    // CHECK-NEXT: } {attr2 = 32 : i64, tf_executor.attr1 = "value1"}
      func.return %result : tensor<*xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 25.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/shape-attrs.pbtxt

    node {
      name: "args_0"
      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_RESOURCE
        }
      }
      attr {
        key: "index"
        value {
          i: 0
        }
      }
    }
    node {
      name: "args_1"
      op: "_Arg"
      attr {
        key: "T"
        value {
          type: DT_RESOURCE
        }
      }
      attr {
        key: "index"
        value {
          i: 1
        }
      }
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 04 18:02:53 UTC 2020
    - 5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/func_attr.mlir

    }
    
    // CHECK:        op: "NoOp"
    // CHECK-NEXT:   attr
    // CHECK-NEXT:     key: "_f"
    // CHECK-NEXT:     value
    // CHECK-NEXT:       func
    // CHECK-NEXT:         name: "original_callee"
    // CHECK-NEXT:         attr
    // CHECK-NEXT:           key: "attr2"
    // CHECK-NEXT:           value
    // CHECK-NEXT:             b: true
    // CHECK:              attr
    // CHECK-NEXT:           key: "attr3"
    // CHECK-NEXT:           value
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 11 16:41:06 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/string-attr.pbtxt

    node {
      name: "save/SaveV2/shape_and_slices"
      op: "Const"
      attr {
        key: "_output_shapes"
        value {
          list {
            shape {
              dim {
                size: 3
              }
            }
          }
        }
      }
      attr {
        key: "dtype"
        value {
          type: DT_STRING
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_STRING
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 29 04:41:05 UTC 2021
    - 713 bytes
    - Viewed (0)
  10. 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)
Back to top