- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 55 for tensors_ (0.11 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
ASSERT_EQ(outputs->size(), 1); ParallelTensor* parallel_result = (*outputs)[0].get(); ExpectScalarEq<float>(parallel_result->tensor(0), 3.); ExpectScalarEq<float>(parallel_result->tensor(1), 3.); run_collective = parallel_device.ScalarsFromSequence<bool>( {true, false}, context.get(), status.get()); parallel_device.Execute(context.get(),
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.h
// tensor are combined into a single entry. const TensorSliceReader::VarToShapeMap& GetVariableToShapeMap() const; // Returns a map from variable names to their data types. Slices of a // partitioned tensor are combined into a single entry. const TensorSliceReader::VarToDataTypeMap& GetVariableToDataTypeMap() const; // Attempts to look up the tensor named "name" and stores the found result in
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
const char* name) { unique_tensor_ptr tensor(BoolTensor(v), TF_DeleteTensor); return Const(tensor.get(), graph, s, name); } TF_Operation* ScalarConst(int32_t v, TF_Graph* graph, TF_Status* s, const char* name) { unique_tensor_ptr tensor(Int32Tensor(v), TF_DeleteTensor); return Const(tensor.get(), graph, s, name); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Oct 15 03:16:52 UTC 2021 - 17.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
TensorHandlePtr size_three( VectorFloatTensorHandle(size_three_value, status.get())); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); // Try to combine these values into a single parallel tensor. std::array<TFE_TensorHandle*, 2> components{size_two.get(), size_three.get()}; TensorHandlePtr combined_value = CreatePerDeviceValues( context.get(), components, device_name, status.get());
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Aug 06 23:56:17 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/gradient_checker.cc
(*data)[i] = i; } } // Fills out_dims with the dimensions of the given tensor. void GetDims(const TF_Tensor* t, int64_t* out_dims) { int num_dims = TF_NumDims(t); for (int i = 0; i < num_dims; i++) { out_dims[i] = TF_Dim(t, i); } } // Runs model as is if output is a scalar, // else sums the output tensor before returning. absl::Status RunAndMaybeSum(AbstractContext* ctx, Model forward,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_Tensor* tensor = TF_AllocateTensor(TF_FLOAT, dims.data(), dims.size(), sizeof(float)); float tensor_data[] = {1}; memcpy(TF_TensorData(tensor), tensor_data, TF_TensorByteSize(tensor)); TFE_TensorHandle* tensor_handle = TFE_NewTensorHandle(tensor, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
if (reader_ != nullptr) return reader_->DebugString(); return v2_reader_->DebugString(); } void CheckpointReader::GetTensor( const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const { absl::Status status; if (reader_ != nullptr) { status = reader_->GetTensor(name, out_tensor); } else { tensorflow::DataType dtype;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/c/eager/dlpack_test.cc
TestHandleFromDLPack(status, ctx, {4, 1, 2}, {2, 0, 1}); TestHandleFromDLPack(status, ctx, {4, 3, 1}, {3, 1, 1}); TestHandleFromDLPack(status, ctx, {4, 3, 1}, {3, 1, 0}); // Test that empty tensors can have any strides. TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 2, 1}); TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 1, 1}); TestHandleFromDLPack(status, ctx, {4, 0, 2}, {0, 0, 1});
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
"@local_config_cuda//cuda:cuda_driver + "\ "@local_config_cuda//cuda:cudnn + "\ "@local_config_cuda//cuda:curand + "\ "@local_config_cuda//cuda:cusolver + "\ "@local_config_tensorrt//:tensorrt)" --keep_going > $BATS_TEST_TMPDIR/out cat <<EOF There was a path found connecting //tensorflow/tools/pip_package:build_pip_package to a banned CUDA dependency. Here's the output from bazel query: EOF
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Aug 14 18:47:44 UTC 2024 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_tensor_handle.cc
", dtype=", DataType_Name(DataType()), ", type=", FullType().DebugString(), ")"); } absl::Status AbstractTensorHandle::TensorHandleStatus() const { // Tensor handles in current runtime don't carry error info and this method // should always return OK status. return absl::OkStatus(); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 1.4K bytes - Viewed (0)