- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Bold (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/posix/copy_file_portable.cc
#include "tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h" namespace tf_posix_filesystem { // Transfers up to `size` bytes from `dst_fd` to `src_fd`. // // 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;
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/experimental/filesystem/modular_filesystem_test.cc
const std::string old_filepath = GetURIForPath("a_file/x"); const std::string new_filepath = GetURIForPath("a_new_file"); status = env_->RenameFile(old_filepath, new_filepath); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::FAILED_PRECONDITION); } TEST_P(ModularFileSystemTest, TestRenameFileTargetPathIsInvalid) { const std::string old_filepath = GetURIForPath("a_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/eager/c_api_experimental_test.cc
EXPECT_EQ(*reinterpret_cast<tensorflow::int32*>(TF_TensorData(r)), 42); TFE_ContextSetExecutorForThread(ctx, old_executor); TFE_ExecutorWaitForAllPendingNodes(executor, status); ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_DeleteExecutor(executor); TFE_DeleteExecutor(old_executor); TFE_DeleteTensorHandle(h); TF_DeleteTensor(r); TFE_DeleteTensorHandle(result[0]); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 03:14:26 GMT 2023 - 31.5K bytes - Viewed (1) -
.github/workflows/arm-ci.yml
runs-on: [self-hosted, linux, ARM64] strategy: matrix: pyver: ['3.10'] steps: - name: Stop old running containers (if any) shell: bash run: | running_containers=$(docker ps -q) && \ if [[ $running_containers == "" ]]; then echo "No running containers"; else
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TF_DeleteStatus(status); } BENCHMARK(BM_ReadVariable); TEST(CAPI, StringAttributes) { // Test that TFE_OpSetAttrString doesn't hold on to the value after it // returns. TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, 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) -
.github/workflows/arm-ci-extended-cpp.yml
jobs: build: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks runs-on: [self-hosted, linux, ARM64] strategy: matrix: pyver: ['3.10'] steps: - name: Stop old running containers (if any) shell: bash run: | running_containers=$(docker ps -q) && \ if [[ $running_containers == "" ]]; then echo "No running containers"; else
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/nn_grad.cc
} ~ReluGradientFunction() override { for (auto output : forward_outputs_) { if (output) { output->Unref(); } } } private: // TODO(b/174778737): Only hold needed outputs. vector<AbstractTensorHandle*> forward_outputs_; }; Status BroadcastMul(AbstractContext* ctx, AbstractTensorHandle* vec, AbstractTensorHandle* mat,
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) -
.github/workflows/arm-cd.yml
runs-on: [self-hosted, linux, ARM64] strategy: fail-fast: false matrix: pyver: ['3.9', '3.10', '3.11', '3.12'] steps: - name: Stop old running containers (if any) shell: bash run: | running_containers=$(docker ps -q) && \ if [[ $running_containers == "" ]]; then echo "No running containers"; else
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Tue Mar 05 10:24:16 GMT 2024 - 3K bytes - Viewed (1) -
tensorflow/c/eager/gradient_checker.h
* this will calculate dy/dw numerically. * * `use_function` indicates whether to use graph mode(true) or eager(false). * * `numerical_grad` is the pointer to the AbstractTensorHandle* which will * hold the numerical gradient data at the end of the function. */ Status CalcNumericalGrad(AbstractContext* ctx, Model forward, absl::Span<AbstractTensorHandle* const> inputs,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 02:34:32 GMT 2020 - 1.8K bytes - Viewed (0) -
tensorflow/c/c_api.cc
for (int i = 0; i < noutputs; ++i) { c_outputs[i] = nullptr; } } // TF_TensorToTensorV1 decodes a string serialization to DT_RESOURCE. // In the TFv1 convention, TF_Tensor can hold a string serialization of // DT_RESOURCE. The string serialization is converted back to a // ResourceHandle during Session run where the TF_Tensor is converted to a // Tensor.
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)