Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for instance_key (0.25 sec)

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

      %instance_key = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
      // CHECK: %[[REDUCE:.*]] = "mhlo.all_reduce"
      // CHECK-SAME{LITERAL}: replica_groups = dense<[[0, 1]]> : tensor<1x2xi64>
      // CHECK: mhlo.add
      // CHECK: mhlo.return
      // CHECK: return %[[REDUCE]]
    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/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)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      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());
      const std::string final_op("Id");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 29.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

              {{"y"},
               "CollectiveReduce",
               {"x"},
               {{"T", DT_FLOAT},
                {"group_size", static_cast<int>(devices.size())},
                {"group_key", 0},
                {"instance_key", 0},
                {"merge_op", "Add"},
                {"final_op", "Id"},
                {"subdiv_offsets", std::vector<int>()}},
               /*dep=*/{"assert"}},
          });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 08 23:47:35 UTC 2021
    - 15.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_test_util.cc

      TF_DeleteStatus(status);
    
      TFE_OpSetAttrType(op, "T", TFE_TensorHandleDataType(in));
      TFE_OpSetAttrInt(op, "group_size", group_size);
      TFE_OpSetAttrInt(op, "group_key", 123);
      TFE_OpSetAttrInt(op, "instance_key", 456);
      TFE_OpSetAttrString(op, "merge_op", "Add", 3);
      TFE_OpSetAttrString(op, "final_op", "Id", 2);
      std::vector<int64_t> subdiv_offsets;
      TFE_OpSetAttrIntList(op, "subdiv_offsets", subdiv_offsets.data(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. pilot/pkg/serviceregistry/serviceentry/controller.go

    )
    
    // instancesKey acts as a key to identify all instances for a given hostname/namespace pair
    // This is mostly used as an index
    type instancesKey struct {
    	hostname  host.Name
    	namespace string
    }
    
    type octetPair struct {
    	thirdOctet  int
    	fourthOctet int
    }
    
    func makeInstanceKey(i *model.ServiceInstance) instancesKey {
    	return instancesKey{i.Service.Hostname, i.Service.Attributes.Namespace}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 15:31:09 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/echotest/filters_test.go

    	}
    	expected := map[string]struct{}{}
    	for _, i := range want {
    		expected[instanceKey(i)] = struct{}{}
    	}
    	unexpected := map[string]struct{}{}
    	for _, i := range all {
    		k := instanceKey(i)
    		if _, ok := expected[k]; !ok {
    			unexpected[k] = struct{}{}
    		}
    	}
    	for _, i := range got {
    		k := instanceKey(i)
    		// just remove the items rather than looping over expected, if anythings left we missed it
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top