- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for Round (0.3 sec)
-
tensorflow/c/c_api.cc
mutex_lock l(graph->mu); tensorflow::shape_inference::InferenceContext* ic = graph->refiner.GetContext(node); if (ic == nullptr) { status->status = InvalidArgument("Node ", node->name(), " was not found in the graph"); return; } auto shape_and_type_vec = std::vector<tensorflow::shape_inference::ShapeAndType>( num_shapes_and_types); for (int i = 0; i < num_shapes_and_types; ++i) {
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/c_test_util.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc
} TEST(TensorPjRtBufferUtilTest, GetPjRtCApiClientNotFound) { EXPECT_THAT( GetPjRtCApiClient(tensorflow::DeviceType(DEVICE_CPU)), StatusIs(error::NOT_FOUND, HasSubstr(absl::StrCat("PjRt client not found for device type ", DEVICE_CPU)))); } TEST(TensorPjRtBufferUtilTest, GetPjRtCApiClientIncorrectType) { TF_ASSERT_OK_AND_ASSIGN(
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Mon Oct 30 19:20:20 GMT 2023 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
TF_SetStatusFromGCSStatus(gcs_status, status); auto status_code = TF_GetCode(status); if (status_code != TF_OK && status_code != TF_NOT_FOUND) return; // If this file does not exist on server, we will need to sync it. bool sync_need = (status_code == TF_NOT_FOUND); file->plugin_file = new tf_writable_file::GCSFile( {std::move(bucket), std::move(object), &gcs_file->gcs_client,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
TF_RETURN_IF_ERROR(operation->Execute( absl::Span<AbstractTensorHandle*>(outputs), &num_outputs)); if (num_outputs != 1) { return errors::Internal("Expected 1 output but found ", num_outputs); } auto* t = dyn_cast<GraphTensor>(outputs[0]); if (!t) { return tensorflow::errors::InvalidArgument( "Unable to cast input to GraphTensor"); }
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) -
tensorflow/c/eager/c_api_test_util.cc
CHECK_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); if (dev_type == device_type) { *device_name = dev_name; LOG(INFO) << "Found " << device_type << " device " << *device_name; TF_DeleteDeviceList(devices); return true; } } TF_DeleteDeviceList(devices); return false; }
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/experimental/filesystem/modular_filesystem_test.cc
EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND); } TEST_P(ModularFileSystemTest, TestReadFileNonExisting) { const std::string filepath = GetURIForPath("dir_not_found/a_file"); std::unique_ptr<RandomAccessFile> new_file; Status status = env_->NewRandomAccessFile(filepath, &new_file); EXPECT_PRED2(UnimplementedOrReturnsCode, status, Code::NOT_FOUND); }
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/c_api_test.cc
// Validate GraphDef is what we expect. bool found_placeholder = false; bool found_scalar_const = false; bool found_add = false; for (const auto& n : graph_def.node()) { if (IsPlaceholder(n)) { EXPECT_FALSE(found_placeholder); found_placeholder = true; } else if (IsScalarConst(n, 3)) { EXPECT_FALSE(found_scalar_const); found_scalar_const = true; } else if (IsAddN(n, 2)) {
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) -
src/cmd/cgo/internal/swig/testdata/callback/main.cc
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // This .cc file will be automatically compiled by the go tool and // included in the package. #include <string> #include "main.h" std::string Caller::call() { if (callback_ != 0) return callback_->run(); return "";
C++ - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 384 bytes - Viewed (0)