- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 157 for if (0.17 sec)
-
tensorflow/c/c_api.cc
} else if (typestr == "list(float)") { metadata.type = TF_ATTR_FLOAT; } else if (typestr == "list(bool)") { metadata.type = TF_ATTR_BOOL; } else if (typestr == "list(type)") { metadata.type = TF_ATTR_TYPE; } else if (typestr == "list(shape)") { metadata.type = TF_ATTR_SHAPE; } else if (typestr == "list(tensor)") {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
_tf_api_dir = _os.path.dirname(_os.path.dirname(_API_MODULE.__file__)) _current_module = _sys.modules[__name__] if not hasattr(_current_module, "__path__"): __path__ = [_tf_api_dir] elif _tf_api_dir not in __path__: __path__.append(_tf_api_dir) # Hook external TensorFlow modules. # Load tensorflow-io-gcs-filesystem if enabled if (_os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "true" or _os.getenv("TF_USE_MODULAR_FILESYSTEM", "0") == "1"):
Python - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
.github/workflows/arm-cd.yml
permissions: contents: read jobs: build: if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks 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: |
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 10:24:16 GMT 2024 - 3K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/nn_grad.cc
// Calculate Grad std::string name = "relu_grad"; TF_RETURN_IF_ERROR(ReluGrad(ctx, upstream_grad, activations, &grad_inputs[0], name.c_str())); return absl::OkStatus(); } ~ReluGradientFunction() override { for (auto output : forward_outputs_) { if (output) { output->Unref(); } } } private:
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-ci-extended-cpp.yml
permissions: contents: read 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
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Feb 07 17:41:21 GMT 2024 - 2.5K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 8.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
TracingContext* tracing_ctx = dyn_cast<TracingContext>(unwrap(func)); if (!tracing_ctx) { tsl::Set_TF_Status_from_Status( s, tensorflow::errors::InvalidArgument( "TF_AddFunctionParameter must be called on a TracingContext.")); return nullptr; } tensorflow::PartialTensorShape partial_shape; if (shape.num_dims != -1) { DCHECK(shape.dim_sizes != nullptr);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats
if [[ -s $BATS_TEST_TMPDIR/actual_extra_licenses ]]; then echo "Please remove the following extra licenses from $LICENSES_TARGET:" cat $BATS_TEST_TMPDIR/actual_extra_licenses fi if [[ -s $BATS_TEST_TMPDIR/actual_missing_licenses ]]; then
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 12.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.h
TF_Status* status); // Returns the device of the operation that produced `h`. If `h` was produced by // a copy, returns the destination device of the copy. Note that the returned // device name is not always the device holding the tensor handle's memory. If // you want the latter, use TFE_TensorHandleBackingDeviceName. This function // will block till the operation that produces `h` has completed.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Viewed (1) -
tensorflow/c/c_api_macros_internal.h
#define TF_VALIDATE_STRUCT_SIZE(STRUCT_NAME, STRUCT_OBJ, SIZE_VALUE_NAME) \ do { \ if (STRUCT_OBJ.struct_size == 0) { \ return tensorflow::Status(absl::StatusCode::kFailedPrecondition, \ "Expected initialized `" #STRUCT_NAME \
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0)