- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 190 for Scalar (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
def OneElementAttrPred : CPred<"$_self.cast<ElementsAttr>().getShapedType().getNumElements() == 1">; def OneElementAttr : ElementsAttrBase<And<[ElementsAttr.predicate, OneElementAttrPred]>, "Scalar ElementsAttr">; def HasRankedFirstOperand : Constraint<CPred<"(*$0.begin()).getType().isa<RankedTensorType>()">>; def IsShapedTensor : Constraint<CPred<"$0.getType().isa<RankedTensorType>()">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
api/openapi-spec/v3/apis__apiextensions.k8s.io__v1_openapi.json
must only be used on lists and may have 3 possible values:\n\n1) `atomic`: the list is treated as a single entity, like a scalar.\n Atomic lists will be entirely replaced when updated. This extension\n may be used on any type of list (struct, scalar, ...).\n2) `set`:\n Sets are lists that must not have multiple items with the same value. Each\n value must be a scalar, an object with x-kubernetes-map-type `atomic` or an\n array with x-kubernetes-list-type `atomic`.\n3) `map`:\n ...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 178.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
TEST(XlaCompilationTest, HalfSupported) { std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); { GraphDefBuilder builder(GraphDefBuilder::kFailImmediately); Tensor t(DT_HALF, TensorShape()); t.scalar<Eigen::half>()() = static_cast<Eigen::half>(0.0f); Node* a = ops::SourceOp("Const", builder.opts() .WithName("A") .WithAttr("dtype", DT_HALF)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def HasValueZero : CPred<"$_self.cast<DenseElementsAttr>()." "getSplatValue<::mlir::IntegerAttr>().getInt() == 0">; // TFLite only supports MatrixSetDiag ops with scalar zero k attribute. def IsSupportedByTFLiteMatrixSetDiag : ElementsAttrBase<And<[ElementsAttr.predicate, IsRankZeroAttr, HasValueZero]>, "MatrixSetDiag attribute verification">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
handle.set_hash_code(type_index.hash_code()); handle.set_maybe_type_name(type_index.name()); Tensor* input = new Tensor(host_allocator_, DT_RESOURCE, TensorShape({})); input->scalar<ResourceHandle>()() = handle; tensors_.push_back(input); inputs_.push_back({nullptr, input}); } protected: DeviceContext* device_context_; Allocator* host_allocator_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir
tf_device.return }) : () -> () func.return } // Test that tf.ResourceScatterAdd operation is decomposed to // tf.TensorScatterAdd. Updates is scalar. // CHECK-LABEL: @decompose_ResourceScatterAdd_op_with_scalar_updates func.func @decompose_ResourceScatterAdd_op_with_scalar_updates(%resource : tensor<*x!tf_type.resource>, %indices : tensor<?xi32>, %updates: tensor<i32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 51.3K bytes - Viewed (0) -
src/encoding/gob/encode.go
// If any pointer so reached is nil, no bytes are written. If the // data item is zero, no bytes are written. Single values - ints, // strings etc. - are indirected before calling their encoders. // Otherwise, the output (for a scalar) is the field number, as an // encoded integer, followed by the field data in its appropriate // format. // encIndirect dereferences pv indir times and returns the result.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 02:00:26 UTC 2024 - 19K bytes - Viewed (0) -
src/runtime/arena.go
// heap metadata. func userArenaChunkReserveBytes() uintptr { // In the allocation headers experiment, we reserve the end of the chunk for // a pointer/scalar bitmap. We also reserve space for a dummy _type that // refers to the bitmap. The PtrBytes field of the dummy _type indicates how // many of those bits are valid.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:44:56 UTC 2024 - 37.9K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa.go
priv.D = new(big.Int).SetBytes(k.Bytes(c.N)) priv.PublicKey.X, priv.PublicKey.Y, err = c.pointToAffine(Q) if err != nil { return nil, err } return priv, nil } // randomPoint returns a random scalar and the corresponding point using the // procedure given in FIPS 186-4, Appendix B.5.2 (rejection sampling). func randomPoint[Point nistPoint[Point]](c *nistCurve[Point], rand io.Reader) (k *bigmod.Nat, p Point, err error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:11:18 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/jit/deadness_analysis.cc
TF_RETURN_IF_ERROR(GetNodeAttr(node->def(), "value", &proto)); Tensor tensor(proto->dtype()); TF_RET_CHECK(tensor.FromProto(*proto)); *predicate = tensor.scalar<bool>()() ? MakeTrue() : MakeFalse(); return absl::OkStatus(); } SignatureForSymbol signature = {tensor_id, must_be_true}; auto it = interned_symbol_instances_.find(signature);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 60.4K bytes - Viewed (0)