- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 75 for setStatus (0.18 sec)
-
tensorflow/c/env.cc
size_t position; }; void TF_CreateDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status( status, ::tensorflow::Env::Default()->CreateDir(dirname)); } void TF_DeleteDir(const char* dirname, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); ::tensorflow::Set_TF_Status_from_Status(
C++ - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Wed Aug 11 01:20:50 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
if (position < 0) TF_SetStatusFromIOError(status, errno, posix_file->filename); else TF_SetStatus(status, TF_OK, ""); return position; } static void Flush(const TF_WritableFile* file, TF_Status* status) { auto posix_file = static_cast<PosixFile*>(file->plugin_file); TF_SetStatus(status, TF_OK, ""); if (fflush(posix_file->handle) != 0)
C++ - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
cmd/admin-bucket-handlers.go
if err != nil { rpt.SetStatus(bucket, fileName, fmt.Errorf("%s (%s)", errorCodes[ErrMalformedXML].Description, err)) continue } configData, err := xml.Marshal(config) if err != nil { rpt.SetStatus(bucket, fileName, err) continue } bucketMap[bucket].NotificationConfigXML = configData rpt.SetStatus(bucket, fileName, nil) case bucketPolicyConfig:
Go - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Thu Apr 04 12:04:40 GMT 2024 - 32.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
else TF_SetStatus(status, TF_OK, ""); } int64_t Tell(const TF_WritableFile* file, TF_Status* status) { auto gcs_file = static_cast<GCSFile*>(file->plugin_file); int64_t position = int64_t(gcs_file->outfile.tellp()); if (position == -1) TF_SetStatus(status, TF_INTERNAL, "tellp on the internal temporary file failed"); else TF_SetStatus(status, TF_OK, "");
C++ - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
} // namespace grappler } // namespace tensorflow void TF_GetNodesToPreserveListSize(const TF_GrapplerItem* item, int* num_values, size_t* storage_size, TF_Status* status) { TF_SetStatus(status, TF_OK, ""); const std::unordered_set<std::string>& nodes = reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item) ->NodesToPreserve(); *num_values = nodes.size();
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
if (block->state == FetchState::FINISHED) { return TF_SetStatus(status, TF_OK, ""); } // Re-loop in case of errors. break; case FetchState::FINISHED: return TF_SetStatus(status, TF_OK, ""); } } return TF_SetStatus( status, TF_INTERNAL, "Control flow should never reach the end of RamFileBlockCache::Fetch."); }
C++ - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
if (!counter.WaitFor(std::chrono::seconds(10))) { // This avoids having the test time out, which is harder to debug. TF_SetStatus(status, TF_FAILED_PRECONDITION, "desired concurrency not reached"); return -1; } memset(buffer, 'x', n); TF_SetStatus(status, TF_OK, ""); return n; }; const int block_size = 8; tf_gcs_filesystem::RamFileBlockCache cache(
C++ - Registered: Tue Apr 09 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
} catch (FileNotFoundException e) { return new MockResponse() .setStatus("HTTP/1.1 404") .addHeader("content-type: text/plain; charset=utf-8") .setBody("NOT FOUND: " + path); } catch (IOException e) { return new MockResponse() .setStatus("HTTP/1.1 500") .addHeader("content-type: text/plain; charset=utf-8") .setBody("SERVER ERROR: " + e);
Java - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Wed Jan 02 02:50:44 GMT 2019 - 4.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device.cc
parallel_device.num_underlying_devices(), " outputs for TPUReplicatedOutput, but got ", expected_outputs)); TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str()); return result; } if (absl::holds_alternative<TFE_TensorHandle*>(inputs[0])) { TF_SetStatus(status, TF_INVALID_ARGUMENT, "Expected the input to "
C++ - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Wed Mar 29 22:05:31 GMT 2023 - 18.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_eager.cc
auto handle = dyn_cast<ImmediateExecutionTensorHandle>(unwrap(at)); if (!handle) { string msg = StrCat("Not an eager tensor handle.", reinterpret_cast<uintptr_t>(at)); TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str()); return nullptr; } return wrap(handle); } TFE_Context* TF_ExecutionContextGetTFEContext(TF_ExecutionContext* ctx,
C++ - Registered: Tue Apr 16 12:39:09 GMT 2024 - Last Modified: Thu Jun 25 04:40:46 GMT 2020 - 3.2K bytes - Viewed (0)