- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Other (0.58 sec)
-
tensorflow/c/c_api.cc
// We have a convoluted scheme here: Using the C++ graph construction API // to add potentially many nodes to the graph without running the checks // (such as uniqueness of the names of nodes) we run with other functions // that add a node to the graph (like TF_FinishOperation). if (!g->name_map.insert(std::make_pair(n->name(), n)).second) { status->status = tensorflow::errors::Internal(
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
return absl::OkStatus(); } TapeTensor::TapeTensor(AbstractTensorHandle* handle) : handle_(handle) { handle_->Ref(); } TapeTensor::TapeTensor(const TapeTensor& other) { handle_ = other.handle_; handle_->Ref(); } TapeTensor::~TapeTensor() { handle_->Unref(); } int64_t TapeTensor::GetID() const { return ToId(handle_); } tensorflow::DataType TapeTensor::GetDType() const {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
// disable_model_pruning is turned off by default. if (tp_configs.disable_model_pruning == TF_TriState_On) configs.disable_model_pruning = true; else configs.disable_model_pruning = false; // The other configs are turned on by default. CONFIG_TOGGLE(implementation_selector); CONFIG_TOGGLE(function_optimization); CONFIG_TOGGLE(common_subgraph_elimination); CONFIG_TOGGLE(arithmetic_optimization);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/eager/parallel_device/parallel_device.cc
// allows code like "tf.constant(1.)" or "tf.reduce_sum(..., axis=1)" // (where the value starts on the host), without allowing other implicit // copies/broadcasts. Other implicit copies may be supported eventually, // but need special handling for gradients (gradient of copy-on is not // just copy-off but includes a sum) and consideration of performance.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
} private: bool first_call_ = true; }; // After the graph pass is registered, it takes effect globally and can affect // other test cases. Define a static variable to switch it on and off. bool GraphErrorInjectionPass::enabled_ = false; // Test to ensure that a registered graph optimization pass is only executed
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
// op they are called with. TFE_Op* CloneOp(const TFE_Op* other) { TF_Status* status = TF_NewStatus(); TFE_Context* context = TFE_OpGetContext(other, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); const char* op_name = TFE_OpGetName(other, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
TEST_P(ModularFileSystemTest, TestGetMatchingPaths) { const std::vector<std::string> matching_filenames = { GetURIForPath("a_file"), GetURIForPath("another_file"), }; const std::vector<std::string> other_filenames = { GetURIForPath("some_file"), GetURIForPath("yet_another_file"), }; for (const auto& filename : matching_filenames) { std::unique_ptr<WritableFile> file;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(a)); EXPECT_EQ(6 * TF_DataTypeSize(TF_UINT64), TF_TensorByteSize(b)); // Check that a write to one tensor shows up in the other. *(static_cast<int64_t*>(TF_TensorData(a))) = 4; EXPECT_EQ(4, *(static_cast<int64_t*>(TF_TensorData(b)))); *(static_cast<int64_t*>(TF_TensorData(b))) = 6; EXPECT_EQ(6, *(static_cast<int64_t*>(TF_TensorData(a))));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3)