Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 184 for Scalar (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

      }
      return RankedTensorType::get(dims, a.getElementType());
    }
    }  // namespace detail
    
    // Verifies that op has the same operand and result element types (or type
    // itself, if scalar) after resolving reference types (i.e., after converting
    // reference types to their corresponding TensorFlow or standard types).
    template <typename ConcreteType>
    class SameOperandsAndResultElementTypeResolveRef
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/en/data/github_sponsors.yml

        url: https://github.com/Kong
      - login: codacy
        avatarUrl: https://avatars.githubusercontent.com/u/1834093?v=4
        url: https://github.com/codacy
      - login: scalar
        avatarUrl: https://avatars.githubusercontent.com/u/301879?v=4
        url: https://github.com/scalar
    - - login: ObliviousAI
        avatarUrl: https://avatars.githubusercontent.com/u/65656077?v=4
        url: https://github.com/ObliviousAI
    - - login: databento
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jun 03 01:09:53 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

                 << "group_size must be a compile time constant";
        }
        if (!group_size_attr.isSplat() || group_size_attr.size() != 1) {
          return all_reduce.emitOpError() << "group_size must be a scalar";
        }
        const auto group_size = group_size_attr.getSplatValue<IntegerAttr>();
    
        // Create a full group assignment. Empty group assignment errors when
        // final_op = "Div"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  4. src/html/template/js_test.go

    		{"+ADw-script+AD4-alert(1)+ADw-/script+AD4-",
    			`\u002bADw-script\u002bAD4-alert(1)\u002bADw-\/script\u002bAD4-`,
    		},
    		// Invalid UTF-8 sequence
    		{"foo\xA0bar", "foo\xA0bar"},
    		// Invalid unicode scalar value.
    		{"foo\xed\xa0\x80bar", "foo\xed\xa0\x80bar"},
    	}
    
    	for _, test := range tests {
    		esc := jsStrEscaper(test.x)
    		if esc != test.esc {
    			t.Errorf("%q: want %q got %q", test.x, test.esc, esc)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 02:20:11 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  5. tensorflow/c/while_loop_test.cc

      params_->body_outputs[1] = inner_outputs[1];
    
      // Finalize outer graph
      ExpectOK();
    
      // Check for a few expected nodes
      const char* node_name = "test_loop/cond/scalar";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
      node_name = "test_loop/body/add";
      EXPECT_TRUE(TF_GraphOperationByName(graph_, node_name) != nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 11 06:05:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/type.go

    	return t.IsInterface() && len(t.AllMethods()) == 0
    }
    
    // IsScalar reports whether 't' is a scalar Go type, e.g.
    // bool/int/float/complex. Note that struct and array types consisting
    // of a single scalar element are not considered scalar, likewise
    // pointer types are also not considered scalar.
    func (t *Type) IsScalar() bool {
    	switch t.kind {
    	case TBOOL, TINT8, TUINT8, TINT16, TUINT16, TINT32,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td

    include "tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.td"
    
    def NonScalarRankedType : Type<And<[Neg<HasAnyRankOfPred<[0]>>, HasRankPred]>,
                             "Non scalar type">;
    
    def HasSingleElement: Constraint<CPred<"($0.size() == 1)">>;
    
    def EmptyList: NativeCodeCall<"llvm::SmallVector<mlir::Value>{}">;
    
    // Creates a tf.ReadVariable op that reads a resource `$2` that has the same
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      let description = [{
        This op loads a restored variable tensor as a tensor future. It is a
        replacement of `tf.ReadVariableOp`.
    
        This op returns a scalar string tensor containing the restored variable name, which can be
        used as a key within the runtime, as well as a future for the tensor.
    
        The `tf.IfrtCall` kernel uses the output $array_key.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

        TFR_TensorType.predicate,
        TFR_TensorListType.predicate]>, "all tensor related types">;
    
    // attribute argument types
    def TFR_AttrType : TFR_Type<"TFRAttr">;
    def TFR_AttrScalarType: TypeAlias<TF_ElementType, "scalar attribute">;
    def TFR_AttrVectorType : VectorOf<[TF_ElementType, TFR_AttrType]>;
    def TFR_AllAttrTypes : Type<Or<[
        TFR_AttrType.predicate,
        Index.predicate,
        TFR_AttrScalarType.predicate,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top