Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for scalar2 (0.27 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    		},
    		"removed only": {
    			Original: `{"name":"foo","scalar":true,"complex":{"nested":true}}`,
    			Current:  `{"name":"foo","scalar":true,"complex":{"nested":true},"array":[1,2,3]}`,
    			Modified: `{"name":"foo"}`,
    
    			ExpectedTwoWay:         `{"complex":null,"scalar":null}`,
    			ExpectedTwoWayResult:   `{"name":"foo"}`,
    			ExpectedThreeWay:       `{"complex":null,"scalar":null}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/arch/arm64/arm64asm/inst.json

    {"Name":"ABS","Bits":"0|Q|0|0|1|1|1|0|size:2|1|0|0|0|0|0|1|0|1|1|1|0|Rn:5|Rd:5","Arch":"Vector Vector variant","Syntax":"ABS <Vd>.<T>, <Vn>.<T>","Code":"","Alias":""},
    {"Name":"ADD (vector)","Bits":"0|1|0|1|1|1|1|0|size:2|1|Rm:5|1|0|0|0|0|1|Rn:5|Rd:5","Arch":"Scalar Scalar variant","Syntax":"ADD <V><d>, <V><n>, <V><m>","Code":"","Alias":""},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 17:57:48 UTC 2017
    - 234.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // TODO(ezhulenev): Add support for more valid concat patterns.
    
      // Tensor + Scalar: [..., 1] + []  <- scalar
      //                        ^
      //                        \- axis is the innermost dimension.
      //
      // Concatenate tensor arguments on the same axis as the original operation,
      // and concatenate scalars into the vector.
      if (is_all_tensors(0, axis) && is_all_scalars(1)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (!IsOfRankOrUnranked(op.getDepth(), 0)) {
        return op.emitOpError() << "requires depth to be a scalar";
      }
      if (!IsOfRankOrUnranked(op.getOnValue(), 0)) {
        return op.emitOpError() << "requires on_value to be a scalar";
      }
      if (!IsOfRankOrUnranked(op.getOffValue(), 0)) {
        return op.emitOpError() << "requires off_value to be a scalar";
      }
    
      DenseIntElementsAttr depth_attr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	verifyGCBits(t, TypeOf([1]Xptrscalar{}), lit(1))
    	verifyGCBits(t, ArrayOf(1, Tptrscalar), lit(1))
    	verifyGCBits(t, TypeOf([2]Xscalar{}), empty)
    	verifyGCBits(t, ArrayOf(2, Tscalar), empty)
    	verifyGCBits(t, TypeOf([10000]Xscalar{}), empty)
    	verifyGCBits(t, ArrayOf(10000, Tscalar), empty)
    	verifyGCBits(t, TypeOf([2]Xptr{}), lit(1, 1))
    	verifyGCBits(t, ArrayOf(2, Tptr), lit(1, 1))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      // Val tensor must be a scalar or of a shape [1, ... , 1, elements_depth].
      const int elements_rank = elements_shape.size();
      for (int i = 0; i < elements_rank - 1; ++i) {
        if (elements_shape[i] != 1) {
          return false;
        }
      }
    
      auto elements_depth = elements_shape.empty() ? 1 : elements_shape.back();
      // If elements depth equals 1 (i.e., scalar or tensor with 1 element), then we
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/ppc64/asm9.go

    	/* VSX scalar load */
    	{as: ALXSDX, a1: C_XOREG, a6: C_VSREG, type_: 87, size: 4}, /* vsx scalar load, xx1-form */
    
    	/* VSX scalar store */
    	{as: ASTXSDX, a1: C_VSREG, a6: C_XOREG, type_: 86, size: 4}, /* vsx scalar store, xx1-form */
    
    	/* VSX scalar as integer load */
    	{as: ALXSIWAX, a1: C_XOREG, a6: C_VSREG, type_: 87, size: 4}, /* vsx scalar as integer load, xx1-form */
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:55:28 UTC 2024
    - 156.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      // expected-error @+1 {{split dimension should be an integer scalar tensor}}
      %0:2 = "tf.Split"(%split_dim, %input) : (tensor<1xi32>, tensor<4x4xf32>) -> (tensor<*xf32>, tensor<*xf32>)
      func.return
    }
    
    // -----
    
    func.func @testSplitScalarInput(%input: tensor<f32>, %split_dim: tensor<i32>) {
      // expected-error @+1 {{cannot split scalar input tensor}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    def TFL_FakeQuantOp : TFL_Op<"fake_quant", [
        Pure,
        QuantizableResult]> {
      let summary = "FakeQuant operator";
    
      let description = [{
        Fake-quantize the 'inputs' tensor of type float via float scalars min and
        max to 'outputs' tensor of same shape as inputs.
      }];
    
      let arguments = (
        ins TFL_FpTensor:$input,
        // The expected [min, max] range of values.
        F32Attr:$min,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %0 = "tf.Const"() { value = dense<1> : tensor<i32> } : () -> tensor<i32>
      // Mul of a tensor and a scalar const.
      %1 = "tf.Mul"(%arg0, %arg2) : (tensor<?x1xf32>, tensor<f32>) -> tensor<?x1xf32>
      %2 = "tf.Mul"(%arg1, %arg3) : (tensor<?x1xf32>, tensor<f32>) -> tensor<?x1xf32>
      // Add of a scalar const and a tensor.
      %3 = "tf.AddV2"(%arg2, %1) : (tensor<f32>, tensor<?x1xf32>) -> tensor<?x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top