Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for S1 (0.04 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

                             kXlaHasHostTransferAttrName, true));
        Node* s1 = Sequencer(
            b2.opts().WithName("F1_sequencer").WithControlInputs({recv1, send1}),
            "F1");
    
        NodeBuilder node_builder1("F1", "F1", lib_def.get());
        node_builder1.Input(a).Input(b);
        Node* call1 =
            b2.opts().WithControlInputs({s1, b}).FinalizeBuilder(&node_builder1);
    
        Node* key_constant2 =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    	{S1{}, "S0", []int{1}, 0},
    	{S1{S0: S0{C: 'c'}}, "C", []int{1, 2}, 'c'},
    	{S2{A: 'a'}, "A", []int{0}, 'a'},
    	{S2{}, "S1", []int{1}, 0},
    	{S2{S1: &S1{B: 'b'}}, "B", []int{1, 0}, 'b'},
    	{S2{S1: &S1{S0: S0{C: 'c'}}}, "C", []int{1, 1, 2}, 'c'},
    	{S2{}, "D", nil, 0},
    	{S3{}, "S1", nil, 0},
    	{S3{S2: S2{A: 'a'}}, "A", []int{1, 0}, 'a'},
    	{S3{}, "B", nil, 0},
    	{S3{D: 'd'}, "D", []int{2}, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    func.func @testBroadcastGradientArgs(%s0: tensor<4xi32>, %s1: tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>) {
      %r0, %r1 = "tf.BroadcastGradientArgs"(%s0, %s1) : (tensor<4xi32>, tensor<4xi32>) -> (tensor<1xi32>, tensor<0xi32>)
      func.return %r0, %r1 : tensor<1xi32>, tensor<0xi32>
    }
    
    // -----
    
    func.func @testBroadcastGradientArgsIncompatibleInputType(%s0: tensor<4xi32>, %s1: tensor<4xi64>) -> (tensor<1xi32>, tensor<0xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    //===----------------------------------------------------------------------===//
    
    namespace {
    // Returns `true` if both s0 & s1 are defined via constant op, and fills
    // s0_shape & s1_shape.
    bool ExtractInputConstShape(BroadcastGradientArgsOp op,
                                DenseIntElementsAttr& s0, DenseIntElementsAttr& s1,
                                SmallVectorImpl<int64_t>& s0_shape,
                                SmallVectorImpl<int64_t>& s1_shape) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  5. pkg/kubelet/eviction/helpers_test.go

    type nodeConditionList []v1.NodeConditionType
    
    // Equal adds the ability to check equality between two lists of node conditions.
    func (s1 nodeConditionList) Equal(s2 nodeConditionList) bool {
    	if len(s1) != len(s2) {
    		return false
    	}
    	for _, item := range s1 {
    		if !hasNodeCondition(s2, item) {
    			return false
    		}
    	}
    	return true
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/runtime/framework_test.go

    var _ framework.ScorePlugin = &TestScorePlugin{}
    
    var cmpOpts = []cmp.Option{
    	cmp.Comparer(func(s1 *framework.Status, s2 *framework.Status) bool {
    		if s1 == nil || s2 == nil {
    			return s1.IsSuccess() && s2.IsSuccess()
    		}
    		return s1.Code() == s2.Code() && s1.Plugin() == s2.Plugin() && s1.Message() == s2.Message()
    	}),
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  7. doc/go1.17_spec.html

    array with the operand.
    </p>
    
    <pre>
    var a [10]int
    s1 := a[3:7]   // underlying array of s1 is array a; &amp;s1[2] == &amp;a[5]
    s2 := s1[1:4]  // underlying array of s2 is underlying array of s1 which is array a; &amp;s2[1] == &amp;a[5]
    s2[1] = 42     // s2[1] == s1[2] == a[5] == 42; they all refer to the same underlying array element
    </pre>
    
    
    <h4>Full slice expressions</h4>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 211.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                                    shape_inference::ShapeHandle s1) -> bool {
        if (s0.SameHandle(s1) || (!c->RankKnown(s0) && !c->RankKnown(s1))) {
          return true;
        }
        if (c->Rank(s0) != c->Rank(s1)) {
          return false;
        }
        for (int i = 0; i < c->Rank(s0); ++i) {
          if (!c->Dim(s0, i).SameHandle(c->Dim(s1, i))) {
            int64_t val0 = c->Value(c->Dim(s0, i));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  9. pkg/scheduler/schedule_one_test.go

    			},
    		},
    	}
    
    	cmpOpts := []cmp.Option{
    		cmp.Comparer(func(s1 framework.Status, s2 framework.Status) bool {
    			return s1.Code() == s2.Code() && reflect.DeepEqual(s1.Reasons(), s2.Reasons())
    		}),
    	}
    
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			_, ctx := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        Pure]> {
      let summary = "Return the shape of s0 op s1 with broadcast.";
    
      let description = [{
    Given `s0` and `s1`, tensors that represent shapes, compute `r0`, the
    broadcasted shape. `s0`, `s1` and `r0` are all integer vectors.
      }];
    
      let arguments = (ins
        TFL_I32OrI64Tensor:$s0,
        TFL_I32OrI64Tensor:$s1
      );
    
      let results = (outs
        TFL_I32OrI64Tensor:$r0
      );
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top