- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for from (0.18 sec)
-
tensorflow/c/eager/c_api_unified_experimental.cc
TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(ctx)); if (!tracing_ctx) { tsl::Set_TF_Status_from_Status( s, tensorflow::errors::InvalidArgument( "Only TracingContext can be converted into a function.")); return nullptr; } tsl::Set_TF_Status_from_Status(s, tracing_ctx->Finalize(unwrap(outputs), &func)); TF_DeleteExecutionContext(ctx);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
->set_disable_optimize_for_static_graph(true); } void TF_TensorFromProto(const TF_Buffer* from, TF_Tensor* to, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); tensorflow::TensorProto from_tensor_proto; status->status = BufferToMessage(from, &from_tensor_proto); if (!status->status.ok()) { return; } status->status =
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/dlpack_test.cc
==============================================================================*/ #include "tensorflow/c/eager/dlpack.h" #include <vector> #include "absl/strings/str_join.h" #include "include/dlpack/dlpack.h" // from @dlpack #include "tensorflow/c/eager/c_api.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace { void TestHandleFromDLPack(TF_Status* status, TFE_Context* ctx,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Jun 30 03:04:46 GMT 2023 - 4.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
* * dA = U * dbias = reduceSum(U, dims = channel_dim) */ AbstractTensorHandle* upstream_grad = grad_outputs[0]; DCHECK(upstream_grad); // Recover data format from forward pass for gradient. std::string data_format; TF_RETURN_IF_ERROR(forward_attrs_.Get("data_format", &data_format)); // Grad for A grad_inputs[0] = upstream_grad; grad_inputs[0]->Ref();
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
opts->opts.validate_colocation_constraints = enable; } // Load a Pluggable Device library. // On success, returns the handle to library in result and return OK from the // function. Otherwise return nullptr in result and error Status from the // function. // // If `library_filename` has already been loaded, we return a cached handle. // Device and Kernels/Ops are registered as globals when a library is loaded
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
ops->filesystem_ops->new_writable_file = tf_posix_filesystem::NewWritableFile; ops->filesystem_ops->new_appendable_file = tf_posix_filesystem::NewAppendableFile; ops->filesystem_ops->new_read_only_memory_region_from_file = tf_posix_filesystem::NewReadOnlyMemoryRegionFromFile; ops->filesystem_ops->create_dir = tf_posix_filesystem::CreateDir; ops->filesystem_ops->delete_file = tf_posix_filesystem::DeleteFile;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/env.cc
void TF_CreateDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->CreateDir(dirname)); } void TF_DeleteDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->DeleteDir(dirname)); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
limitations under the License. ==============================================================================*/ #include "tensorflow/c/eager/dlpack.h" #include <string> #include "include/dlpack/dlpack.h" // from @dlpack #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/tfe_tensorhandle_internal.h" #include "tensorflow/c/tf_status_internal.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
if (!v2_reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, v2_reader_->status()); return; } auto result = BuildV2VarMaps(); var_to_shape_map_.swap(result.first); var_to_data_type_map_.swap(result.second); } else { reader_.reset(new TensorSliceReader(filename)); if (!reader_->status().ok()) { tsl::Set_TF_Status_from_Status(status, reader_->status()); return; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Aug 25 21:29:12 GMT 2023 - 5.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
std::vector<char> out; // Read blocks from the cache, and verify the LRU behavior based on the // fetcher calls that the cache makes. calls.push_back(0); // Cache miss - drains an element from `calls`. TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out)); // Cache hit - does not drain an element from `calls`. TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out)); calls.push_back(block_size);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0)