- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for 128 (0.33 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc
// This method uses a temporary buffer to hold contents. int CopyFileContents(int dst_fd, int src_fd, off_t size) { // Use a copy buffer of 128KB but don't store it on the stack. constexpr static size_t kPosixCopyFileBufferSize = 128 * 1024; std::unique_ptr<char[]> buffer(new char[kPosixCopyFileBufferSize]); off_t offset = 0; int bytes_transferred = 0; int rc = 1; // When `sendfile` returns 0 we stop copying and let callers handle this.
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.9K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
} break; case DLDataTypeCode::kDLComplex: switch (dtype.bits) { case 64: *tf_dtype = TF_DataType::TF_COMPLEX64; return absl::OkStatus(); case 128: *tf_dtype = TF_DataType::TF_COMPLEX128; return absl::OkStatus(); default: return tensorflow::errors::InvalidArgument( "Unsupported Complex bits: ", dtype.bits);
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/eager/tape.h
// memory consumption is over kMinAggregateBytes, do an early aggregation // so as to release the gradient tensor to save memory. constexpr int kMinAggregateCount = 4; constexpr int kMinAggregateBytes = 128 * 1024 * 1024; template <typename Gradient, typename BackwardFunction, typename TapeTensor> Status GradientTape<Gradient, BackwardFunction, TapeTensor>::ComputeGradient(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1)