- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for Erling (0.2 sec)
-
tensorflow/c/c_api_test.cc
// TF_FinishOperation should fail if the shape of the added operation cannot // be inferred. TF_Status* status = TF_NewStatus(); TF_Graph* graph = TF_NewGraph(); // Create this failure by trying to add two nodes with incompatible shapes // (A tensor with shape [2] and a tensor with shape [3] cannot be added). const char data[] = {1, 2, 3}; const int64_t vec2_dims[] = {2}; unique_tensor_ptr vec2_tensor(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/env_test.cc
TF_FileStatistics stats; TF_FileStat(filepath.c_str(), &stats, s); ASSERT_EQ(stats.length, strlen(data)); ASSERT_FALSE(stats.is_directory); ASSERT_GT(stats.mtime_nsec, 0); // Trying to delete a non-empty directory should fail. TF_DeleteDir(dirpath.c_str(), s); ASSERT_NE(TF_OK, TF_GetCode(s)) << "TF_DeleteDir unexpectedly succeeded with a non-empty directory " << dirpath;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
TFE_TensorHandle* tensor, TF_Status* status, void* device_info) { TF_SetStatus( status, TF_UNIMPLEMENTED, absl::StrCat("Trying to copy a tensor ", tensorflow::unwrap(tensor)->DebugString(), " on to a parallel device. Pack non-parallel " "tensors for each device into a parallel tensor explicitly.")
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_testutil.cc
TF_Status* status, void* device_info) { TF_SetStatus(status, TF_INTERNAL, "Trying to copy a tensor out of a logging device."); return nullptr; } void LoggingDeviceExecute(const TFE_Op* original_op, int* num_outputs, TFE_TensorHandle** outputs, TF_Status* s,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Mar 03 20:47:31 GMT 2021 - 8.3K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.cc
const tensorflow::Tensor& arg_tensor = cc_ctx->input(index); absl::Status cc_status; if (arg_tensor.dtype() != tensorflow::DT_RESOURCE) { cc_status = absl::InvalidArgumentError( absl::StrCat("Trying to obtain resource handle from Input[", index, "], which is not type DT_RESOURCE.")); status->status = cc_status; return nullptr; } const tensorflow::ResourceHandle& handle =
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
if (ops == nullptr) return errors::FailedPrecondition( "Trying to register filesystem without operations"); if (ops->init == nullptr) return errors::FailedPrecondition( "Trying to register filesystem without `init` operation"); if (ops->cleanup == nullptr) return errors::FailedPrecondition( "Trying to register filesystem without `cleanup` operation"); return OkStatus(); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::ImmediateExecutionTensorHandle* unwrapped_handle = tensorflow::unwrap(handles[i]); if (tensorflow::CustomDeviceTensorHandle::classof(unwrapped_handle)) { // One of the inputs we're trying to pack is on a custom device. We'll let // the first custom device we see handle all of the packing. auto* custom_device_handle = tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/c_api.cc
return; } else if (context->GetContextId() == tensorflow::EagerContext::kInvalidContextId) { status->status = tensorflow::errors::InvalidArgument( "Trying to update a context with invalid context id."); } status->status = tensorflow::unwrap(ctx)->GetDistributedManager()->SetOrUpdateServerDef( server_def, /*reset_context=*/false, keep_alive_secs,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2)