- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 26 for indexOf (0.34 sec)
-
tensorflow/c/c_api_test.cc
int num_unused_input_mappings; const char** src_names; int* src_indexes; TF_ImportGraphDefResultsMissingUnusedInputMappings( results, &num_unused_input_mappings, &src_names, &src_indexes); ASSERT_EQ(1, num_unused_input_mappings); EXPECT_EQ(string("fake"), string(src_names[0])); EXPECT_EQ(0, src_indexes[0]); TF_DeleteImportGraphDefResults(results); TF_DeleteImportGraphDefOptions(opts);
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) -
ci/official/utilities/code_check_changed_files.bats
echo "=============================" grep -e 'BUILD' $BATS_FILE_TMPDIR/changed_files \ | xargs buildifier -v -mode=diff -diff_command="git diff --no-index" } # Note: this is excluded on the full code base, since any submitted code must # have passed Google's internal style guidelines. @test "Check formatting for C++ files" {
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) -
tensorflow/c/c_api.cc
if (ic->num_outputs() <= new_src.index) { status->status = tensorflow::errors::OutOfRange( "Cannot update edge. Output index [", new_src.index, "] is greater than the number of total outputs [", ic->num_outputs(), "]."); return; } tensorflow::shape_inference::ShapeHandle shape = ic->output(new_src.index); tensorflow::shape_inference::InferenceContext* ic_dst =
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) -
ci/official/containers/linux_arm64/cuda.packages.txt
# CuDNN: https://docs.nvidia.com/deeplearning/sdk/cudnn-install/index.html#ubuntu-network-installation libcudnn8=8.9.6.50-1+cuda12.2 libcudnn8-dev=8.9.6.50-1+cuda12.2 # This can be removed once NVIDIA publishes a cuda-12.3.2 Docker image. # For now it ensures that we install at least version 12.3.107 of PTXAS, # since 12.3.103 has a bug.
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Mon Jan 08 09:32:19 GMT 2024 - 368 bytes - Viewed (1) -
ci/official/envs/linux_arm64
TFCI_DOCKER_ENABLE=1 TFCI_DOCKER_IMAGE=gcr.io/tensorflow-sigs/build-arm64:tf-2-16-multi-python TFCI_DOCKER_PULL_ENABLE=1 TFCI_DOCKER_REBUILD_ARGS="--target=tf ci/official/containers/linux_arm64" TFCI_INDEX_HTML_ENABLE=1 TFCI_LIB_SUFFIX="-cpu-linux-arm64" TFCI_OUTPUT_DIR=build_output TFCI_WHL_AUDIT_ENABLE=1 TFCI_WHL_AUDIT_PLAT=manylinux2014_aarch64 TFCI_WHL_BAZEL_TEST_ENABLE=1 TFCI_WHL_SIZE_LIMIT=240M
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 23:12:40 GMT 2024 - 1.5K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.h
// shape is explicitly requested where possible. int (*num_dims)(void* data, TF_Status* status); // Computes the axis length at `dim_index`. int64_t (*dim)(void* data, int dim_index, TF_Status* status); void (*deallocator)(void* data); // Summarizes the value of this tensor. The caller takes ownership of the
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/eager/c_api_test_util.cc
const tensorflow::ServerDef& server_def, int task_index) { tensorflow::ServerDef server_def_copy = server_def; tensorflow::ClusterDef* cluster_def = server_def_copy.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->mutable_job(0); const int port = tensorflow::testing::PickUnusedPortOrDie(); job_def->mutable_tasks()->at(task_index) = tensorflow::strings::StrCat("localhost:", port);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/c_api.cc
return num_elements; } int64_t TFE_TensorHandleDim(TFE_TensorHandle* h, int dim_index, TF_Status* status) { if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return -1; } int64_t dim = -1; status->status = tensorflow::unwrap(h)->Dim(dim_index, &dim); return dim; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
// ------------------------- VariableInfo ------------------------------------ TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext( TF_OpKernelContext* ctx, int index, TF_Status* status); TF_CAPI_EXPORT extern void TF_LockVariableInfos(TF_VariableInfo** vars, int num_vars, TF_Status* status);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Dec 20 20:01:06 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
auto& kUnknownDim = shape_inference::InferenceContext::kUnknownDim; auto& kUnknownRank = shape_inference::InferenceContext::kUnknownRank; // GraphTensor wraps a `TF_Output`, i.e. a pointer to TF_Operation and the index // into the list of outputs for the operation. class GraphTensor : public TracingTensorHandle { public: explicit GraphTensor(TF_Output output, TF_Graph* graph)
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1)