- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for expects (0.2 sec)
-
ci/official/utilities/rename_and_verify_wheels.sh
# one, checks the filesize, and then ensures the new wheel is installable. set -euxo pipefail cd "$TFCI_OUTPUT_DIR" # Move extra wheel files somewhere out of the way. This script # expects just one wheel file to exist. if [[ "$(ls *.whl | wc -l | tr -d ' ')" != "1" ]]; then echo "More than one wheel file is present: moving the oldest to" echo "$TFCI_OUTPUT_DIR/extra_wheels."
Shell Script - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 21:16:27 GMT 2024 - 3.4K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
&Deallocator, &deallocator_called); EXPECT_FALSE(deallocator_called); EXPECT_EQ(TF_FLOAT, TF_TensorType(t)); EXPECT_EQ(2, TF_NumDims(t)); EXPECT_EQ(dims[0], TF_Dim(t, 0)); EXPECT_EQ(dims[1], TF_Dim(t, 1)); EXPECT_EQ(num_bytes, TF_TensorByteSize(t)); EXPECT_EQ(static_cast<void*>(values), TF_TensorData(t)); TF_DeleteTensor(t); EXPECT_TRUE(deallocator_called); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api_unified_experimental.cc
void TF_DeleteOutputList(TF_OutputList* o) { delete unwrap(o); } void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status* s) { unwrap(o)->expected_num_outputs = num_outputs; unwrap(o)->outputs.clear(); unwrap(o)->outputs.resize(num_outputs); } int TF_OutputListNumOutputs(TF_OutputList* o) { return unwrap(o)->outputs.size(); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 9K bytes - Viewed (0) -
tensorflow/c/c_api.cc
const auto tensor_interface = tensorflow::down_cast<const tensorflow::TensorInterface*>(src->tensor); if (dst->dims() != 0) { return InvalidArgument( "Malformed TF_RESOURCE tensor: expected a scalar, got a tensor with " "shape ", dst->shape().DebugString()); } *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
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) -
tensorflow/c/eager/dlpack.cc
bool valid = true; int64_t expected_stride = 1; for (int i = ndim - 1; i >= 0; --i) { // Empty tensors are always compact regardless of strides. if (shape_arr[i] == 0) return true; // Note that dimensions with size=1 can have any stride. if (shape_arr[i] != 1 && stride_arr[i] != expected_stride) { valid = false; } expected_stride *= shape_arr[i]; } return valid; }
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/experimental/gradients/array_grad_test.cc
status_ = RunModel(IdentityNGradModel, immediate_execution_ctx_.get(), {x1.get(), x2.get()}, absl::MakeSpan(outputs), UseFunction()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); EXPECT_EQ(outputs[0], nullptr); ASSERT_NO_FATAL_FAILURE(CheckTensorValue(outputs[1], {1.0f}, /*dims*/ {}, /*abs_error*/ 0)); outputs[1]->Unref(); } #ifdef PLATFORM_GOOGLE
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
ci/official/README.md
`TFCI` env param pointing to a list of `env` files. 2. `utilities/setup.sh`, initialized by all top-level scripts, reads and sets values from those `TFCI` paths. - `set -a` / `set -o allexport` exports the variables from `env` files so all scripts can use them. - `utilities/setup_docker.sh` creates a container called `tf` with all `TFCI_` variables shared to it.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu Feb 01 03:21:19 GMT 2024 - 8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// the device is not usable. In case of a bad status, `device.delete_device` is // still called on `device_info` (i.e. the caller does not retain ownership). // // This API is highly experimental, and in particular is expected to change when // it starts supporting operations with attributes and when tf.function support // is added. TF_CAPI_EXPORT extern void TFE_RegisterCustomDevice(TFE_Context* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/BUILD
"//tensorflow/core/platform:blocking_counter", "@com_google_absl//absl/strings", "@local_xla//xla/tsl/c:tsl_status_internal", ], alwayslink = 1, ) exports_files( [ "version_script.lds", "exported_symbols.lds", ], visibility = ["//visibility:public"], ) filegroup( name = "checkpoint_reader_hdrs", srcs = [
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
if (shape.dims() != 2) { return errors::InvalidArgument( "Tensor expected to have rank 2 found rank: ", shape.dims()); } int64_t dim_sizes[] = {2, 4}; for (int i = 0; i < shape.dims(); i++) { if (shape.dim_size(i) != dim_sizes[i]) { return errors::InvalidArgument("Dim ", i, " expected to be of size ", dim_sizes[i],
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 6.7K bytes - Viewed (0)