- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 191 for Scalar (0.15 sec)
-
tensorflow/cc/experimental/base/tests/tensor_test.cc
template <typename T> class ConstructScalarTensorTest : public ::testing::Test {}; TYPED_TEST_SUITE(ConstructScalarTensorTest, SimpleTypes); // This test constructs a scalar tensor for each of the types in "SimpleTypes", // and verifies the expected dimensions, dtype, value, number of bytes, and // number of elements. TYPED_TEST(ConstructScalarTensorTest, ValidTensorAttributesAfterConstruction) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:56:08 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc
if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) { InitializeVariable(var_op, &resource_tensor, session_init_func, builder); continue; } auto handle = resource_tensor.scalar<tensorflow::ResourceHandle>()(); auto* var_ptr = GetVariableFromSession(var_op, handle.device(), mgr); if (!var_ptr) { // If no value in session, then just skip this variable.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7K bytes - Viewed (0) -
staging/src/k8s.io/api/testdata/README.md
and to round-trip back to serialized form with identical bytes. Adding new fields to existing API types is *not* expected to require modifications to these fixtures. This requires making optional scalar and struct fields pointers so that protobuf serialization omits them when not present. To run serialization tests just for a previous version, like `v1.14.0`: ```sh go test k8s.io/api -run //v1.14.0 ```
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:52 UTC 2024 - 5.2K bytes - Viewed (0) -
subprojects/diagnostics/src/integTest/groovy/org/gradle/api/reporting/model/ModelReportIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 13:32:55 UTC 2024 - 22K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/pruning/algorithm_test.go
schema *structuralschema.Structural expectedObject string expectedPruned []string }{ {name: "empty", json: "null", expectedObject: "null"}, {name: "scalar", json: "4", schema: &structuralschema.Structural{}, expectedObject: "4"}, {name: "scalar array", json: "[1,2]", schema: &structuralschema.Structural{ Items: &structuralschema.Structural{}, }, expectedObject: "[1,2]"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 20.3K bytes - Viewed (0) -
tensorflow/cc/experimental/base/tests/tensorhandle_test.cc
template <typename T> class ConstructScalarTensorHandleTest : public ::testing::Test {}; TYPED_TEST_SUITE(ConstructScalarTensorHandleTest, SimpleTypes); // This test constructs a scalar tensor for each of the types in "SimpleTypes", // then wraps it in a TensorHandle. We then unwrap it back into a Tensor, and // verify the expected dims, dtype, value, num bytes, and num elements.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 09:56:08 UTC 2024 - 6.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td
After a `tf.ReadVariableOp` is lowered into `tf.IfrtLoadVariableOp`, the `tf.IfrtCall` kernel will bind the loaded IFRT array by name with the tpu program's input. This op returns a scalar string tensor as a key for user to look for the loaded array and a future containing the restored tensor. }]; let arguments = (ins TF_Tensor:$variable,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:35:32 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc
} // Extract the constant cond value. DenseElementsAttr cond; if (!matchPattern(op.getCond(), m_Constant(&cond))) return failure(); // TODO(hinsu): Handle constants that are not scalar booleans. auto cond_type = mlir::dyn_cast<RankedTensorType>(cond.getType()); if (!cond_type || !cond_type.getShape().equals({}) || !cond_type.getElementType().isInteger(/*width=*/1)) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc
if (resource_tensor.dtype() != tensorflow::DT_RESOURCE) { tensors.push_back(resource_tensor); continue; } const ResourceHandle& resource_handle = resource_tensor.scalar<ResourceHandle>()(); Device* device; if (!(device_manager->LookupDevice(resource_handle.device(), &device) .ok())) { return module.emitOpError() << "failed to look up device"; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 09:05:47 UTC 2024 - 7.9K bytes - Viewed (0) -
src/math/big/arith_ppc64x.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 16.8K bytes - Viewed (0)