- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for Stream (0.36 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc
#include <stdio.h> #include <fstream> #include <string> #include <utility> TempFile::TempFile(const std::string& temp_file_name, std::ios::openmode mode) : std::fstream(temp_file_name, mode), name_(temp_file_name) {} TempFile::TempFile(TempFile&& rhs) : std::fstream(std::move(rhs)), name_(std::move(rhs.name_)) {} TempFile::~TempFile() { std::fstream::close(); std::remove(name_.c_str()); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Jun 26 14:56:58 GMT 2020 - 1.3K bytes - Viewed (0) -
tensorflow/c/eager/gradients_test.cc
/*use_function=*/!std::get<2>(GetParam())); ASSERT_EQ(error::INVALID_ARGUMENT, s.code()); ASSERT_EQ( "Provided null gradient_function for 'Neg'.\nIf the intent is to treat " "this op as non-differentiable consider using RegisterNotDifferentiable " "or NotDifferentiableGradientFunction.", s.message()); ASSERT_EQ(nullptr, outputs[0]); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
==============================================================================*/ #include "tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h" #include <cstring> #include <memory> #include <sstream> #include <utility> #include "absl/synchronization/mutex.h" #include "tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h" namespace tf_gcs_filesystem {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/gradients.cc
absl::Span<AbstractTensorHandle*> result) const { if (gradient_function == nullptr) { return errors::InvalidArgument( "Provided null gradient_function for '", op_type, "'.\n", "If the intent is to treat this op as non-differentiable consider " "using RegisterNotDifferentiable or " "NotDifferentiableGradientFunction."); } return gradient_function->Compute(ctx_, output_gradients, result); }
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/filesystem/plugins/gcs/gcs_filesystem.cc
if (TF_GetCode(status) != TF_OK) return -1; auto stream = gcs_file->gcs_client.ReadObject( bucket, object, gcs::ReadRange(offset, offset + buffer_size)); TF_SetStatusFromGCSStatus(stream.status(), status); if ((TF_GetCode(status) != TF_OK) && (TF_GetCode(status) != TF_OUT_OF_RANGE)) { return -1; } int64_t read; auto content_length = stream.headers().find("content-length");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
// Load the library. TF_Status* status = TF_NewStatus(); string lib_path = tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath( "tensorflow", "c", "experimental", "stream_executor", "test", "test_pluggable_device.so")); TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status); TF_Code code = TF_GetCode(status); string status_msg(TF_Message(status));
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jan 17 22:27:52 GMT 2023 - 13.1K bytes - Viewed (1)