- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 145 for if (0.2 sec)
-
tensorflow/c/experimental/filesystem/modular_filesystem_test.cc
Status status = env_->NewWritableFile(filepath, &new_file); if (!status.ok()) GTEST_SKIP() << "NewWritableFile() not supported: " << status; const std::string test_data("asdf"); status = new_file->Append(test_data); if (!status.ok()) GTEST_SKIP() << "Append() not supported: " << status; status = new_file->Flush(); if (!status.ok()) GTEST_SKIP() << "Flush() not supported: " << status;
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/experimental/filesystem/modular_filesystem.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 23.1K bytes - Viewed (0) -
tensorflow/c/checkpoint_reader.cc
tensorflow::TensorShape shape; status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape); if (status.ok()) { out_tensor->reset(new Tensor(dtype, shape)); status = v2_reader_->Lookup(name, out_tensor->get()); if (!status.ok()) out_tensor->reset(); } } if (!status.ok()) { tsl::Set_TF_Status_from_Status(out_status, status); } }
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/c_api_internal.h
// Set the shapes and types of the output's handle. // // The lengths of the arrays pointed to by `shapes`, `ranks`, and `types` must // all be equal to `num_shapes_and_types`. If `ranks[i] != -1`, (i.e., if the // rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. // // TODO(akshayka): Implement a corresponding getter method.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
.github/workflows/arm-ci.yml
jobs: build: # Don't do this in forks, and if labeled, only for 'kokoro:force-run' if: github.repository == 'tensorflow/tensorflow' && (github.event.action != 'labeled' || (github.event.action == 'labeled' && github.event.label.name == 'kokoro:force-run')) runs-on: [self-hosted, linux, ARM64] strategy: matrix: pyver: ['3.10'] steps: - name: Stop old running containers (if any) shell: bash run: |
Others - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.2K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.cc
return parent_op_->SetDeviceName(name); } Status TapeOperation::AddInput(AbstractTensorHandle* input) { TF_RETURN_IF_ERROR(parent_op_->AddInput(input)); forward_op_.inputs.push_back(input); return OkStatus(); } Status TapeOperation::AddInputList( absl::Span<AbstractTensorHandle* const> inputs) { TF_RETURN_IF_ERROR(parent_op_->AddInputList(inputs)); for (auto input : inputs) { forward_op_.inputs.push_back(input); }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jun 07 01:53:35 GMT 2022 - 9K bytes - Viewed (1) -
.github/ISSUE_TEMPLATE/tflite-other.md
placeholder: e.g., 3.9 validations: required: false - type: input id: Bazel attributes: label: Bazel version description: if compiling from source placeholder: validations: required: false - type: input id: Compiler attributes: label: GCC/Compiler version description: if compiling from source placeholder: validations: required: false - type: input id: Cuda attributes: label: CUDA/cuDNN version description:
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Dec 29 22:28:29 GMT 2022 - 3.4K bytes - Viewed (1) -
tensorflow/c/c_op_requires.h
} \ } while (0) #define TF_CLEANUP_AND_RETURN_IF_ERROR(C_STATUS, BUFFER, __VA_ARGS__) \ do { \ ::tensorflow::Status _s(__VA_ARGS__); \ if (TF_PREDICT_TRUE(!_s.ok())) { \ TF_DeleteStatus(C_STATUS); \
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Aug 02 21:35:06 GMT 2022 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_tensor_handle.h
// // For example some tensor handles may represent distributed values, in which // case placement information is lost when resolving the handle. // // If false, a caller might implement pretty-printing by resolving and // iterating over the resulting tensor. This may still be viable if resolving // the handle loses information, but `SummarizeValue` would be more precise. virtual bool PreferCustomSummarizer() const { return false; }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Mar 10 21:56:24 GMT 2023 - 4.3K bytes - Viewed (0) -
ci/official/utilities/code_check_changed_files.bats
if [[ "$(git rev-parse --abbrev-ref HEAD)" == "pull_branch" ]]; then # TF's CI runs 'git fetch origin "pull/PR#/merge:pull_branch"' # To get the as-merged branch during the CI tests git diff --diff-filter ACMRT --name-only pull_branch^ pull_branch > $BATS_FILE_TMPDIR/changed_files else # If the branch is not present, then diff against origin/master
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 10 19:39:41 GMT 2024 - 4K bytes - Viewed (0)