Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for group_key (0.14 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-collective.mlir

    }
    
    
    // -----
    
    // CHECK: module attributes
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_key = 1
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_size = 2
    // CHECK-LABEL: func @collective_reduce_v2
    func.func @collective_reduce_v2(%input: tensor<f32>) -> tensor<f32> {
      %group_key = "tf.Const"() { value = dense<1> : tensor<i32> } : () -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

              StringRef(kGroupKeyAttrName.data(), kGroupKeyAttrName.size()),
              group_key, op, module))) {
        return failure();
      }
      return success();
    }
    
    LogicalResult SetCollectiveInfo(OpBuilder& builder,
                                    DenseIntElementsAttr replica_groups,
                                    Operation* op) {
      // Use special group_key 0 to represent "all available devices". This
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/artifacts/ExcludeRuleNotationConverter.java

            visitor.candidate("Maps with 'group' and/or 'module'").example("[group: 'com.google.collections', module: 'google-collections']");
        }
    
        protected ExcludeRule parseMap(
            @MapKey(ExcludeRule.GROUP_KEY) @Nullable String group,
            @MapKey(ExcludeRule.MODULE_KEY) @Nullable String module
        ) {
            if (group == null && module == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 05 11:58:37 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ExcludeRule.java

    package org.gradle.api.artifacts;
    
    /**
     * An {@code ExcludeRule} is used to describe transitive dependencies that should be excluded when resolving
     * dependencies.
     */
    public interface ExcludeRule {
        String GROUP_KEY = "group";
        String MODULE_KEY = "module";
    
        /**
         * The exact name of the organization or group that should be excluded.
          */
        String getGroup();
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Aug 15 16:06:48 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/ExcludeRuleNotationConverterTest.groovy

            then:
            thrown(MissingPropertyException)
        }
    
        def "checkValidExcludeRuleMap is true if group or module is defined"() {
            expect:
            parser.parseNotation(WrapUtil.toMap(ExcludeRule.GROUP_KEY, "aGroup"));
            parser.parseNotation(WrapUtil.toMap(ExcludeRule.MODULE_KEY, "aModule"));
    
            when:
            parser.parseNotation(WrapUtil.toMap("unknownKey", "someValue"))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 2.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/api/internal/artifacts/DefaultExcludeRuleContainerTest.java

        }
    
        private boolean matchingExcludeRule(ExcludeRule excludeRule, Map excludeRuleArg) {
            final DefaultExcludeRule expectedExcludeRule = new DefaultExcludeRule((String) excludeRuleArg.get(ExcludeRule.GROUP_KEY), (String) excludeRuleArg.get(ExcludeRule.MODULE_KEY));
            return excludeRule.equals(expectedExcludeRule);
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 12 07:56:11 UTC 2021
    - 3.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

          << " is required for CollectiveInfo but not found.";
      int32_t group_key = group_key_attr.getInt();
      int32_t group_size = group_size_attr.getInt();
      VLOG(2) << "Populating CollectiveInfo: group_key=" << group_key
              << " group_size=" << group_size;
      compilation_result->collective_info = {group_key, group_size, 0};
      return absl::OkStatus();
    }
    
    Status PopulateResultIOInfo(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

      Pattern<
        (TF_CollectiveReduceV2Op:$src_op
           $input, $group_size, $group_key, $instance_key, $ordering_token,
           $merge_op, $final_op, $communication_hint, $timeout_seconds,
           $is_stateless, $max_subdivs_per_device
        ),
        [(TF_CollectiveReduceV2Op
           $input, $group_size, $group_key, $instance_key, (EmptyList),
           $merge_op, $final_op, $communication_hint, $timeout_seconds,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

      %input: tensor<f32>,
      %group_key: tensor<i32>,
      %group_size: tensor<i32>,
      %instance_key: tensor<i32>) {
      tf_executor.graph {
        // expected-remark@above {{ID: 5}}
        %island = tf_executor.island {
            // expected-remark@above {{ID: 3}}
            // expected-remark@above {{Successors: {4}}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      if (TF_GetCode(status) != TF_OK) return nullptr;
      TFE_OpSetAttrType(op.get(), "T", TFE_TensorHandleDataType(input));
      TFE_OpSetAttrInt(op.get(), "group_size", group_size);
      TFE_OpSetAttrInt(op.get(), "group_key", 0);
      TFE_OpSetAttrInt(op.get(), "instance_key", 0);
      const std::string merge_op("Add");
      TFE_OpSetAttrString(op.get(), "merge_op", merge_op.c_str(),
                          merge_op.length());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 29.3K bytes
    - Viewed (0)
Back to top