- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 52 for tool (0.16 sec)
-
tensorflow/c/eager/c_api_remote_test_util.cc
" }"), &def)); return def.SerializeAsString(); } void TestRemoteExecuteSilentCopies(bool async, bool remote, bool func, bool heavy_load_on_streaming_rpc, bool remote_func_outputs, bool has_packed_input) { CHECK(!has_packed_input || func); tensorflow::ServerDef server_def = GetServerDef(3);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
int num_values) override { std::unique_ptr<bool[]> b(new bool[num_values]); for (int i = 0; i < num_values; ++i) { b[i] = values[i]; } op_->node_builder.Attr(attr_name, ArraySlice<const bool>(b.get(), num_values)); return absl::OkStatus(); }
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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
typedef struct GCSFile { const std::string path; const bool is_cache_enable; const uint64_t buffer_size; ReadFn read_fn; absl::Mutex buffer_mutex; uint64_t buffer_start ABSL_GUARDED_BY(buffer_mutex); bool buffer_end_is_past_eof ABSL_GUARDED_BY(buffer_mutex); std::string buffer ABSL_GUARDED_BY(buffer_mutex); GCSFile(std::string path, bool is_cache_enable, uint64_t buffer_size, ReadFn read_fn)
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/unified_api_test.cc
class UnifiedAPI : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> { protected: void SetUp() override { TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); Status s = StatusFromTF_Status(status.get()); CHECK_EQ(errors::OK, s.code()) << s.message(); } public: bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; }
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/eager/c_api_experimental.cc
} TFE_Executor* TFE_NewExecutor(bool is_async, bool enable_streaming_enqueue, int in_flight_nodes_limit) { return new TFE_Executor(is_async, enable_streaming_enqueue, in_flight_nodes_limit); } void TFE_DeleteExecutor(TFE_Executor* executor) { delete executor; } bool TFE_ExecutorIsAsync(TFE_Executor* executor) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/eager/unified_api_testutil.cc
} // Runs `model` maybe wrapped in a function. Status RunModel(Model model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs, bool use_function) { if (use_function) { const char* fn_name = "test_fn"; core::RefCountPtr<AbstractFunction> scoped_func; // Returning null tensors from a tf.function is not supported, so we keep
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 5.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
// Set server def with timeout. TF_CAPI_EXPORT extern void TFE_ContextSetServerDefWithTimeout( TFE_Context* ctx, int keep_alive_secs, const void* proto, size_t proto_len, int64_t init_timeout_in_ms, TF_Status* status, bool clear_existing_contexts) { TFE_ContextSetServerDefWithTimeoutAndRetries( ctx, keep_alive_secs, proto, proto_len, init_timeout_in_ms, /*retries=*/0, status, clear_existing_contexts); }
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/eager/c_api_test_util.cc
TF_DeleteTensor(t); TF_DeleteStatus(status); return th; } TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, bool value) { bool data[] = {value}; TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_BOOL, nullptr, 0, status); memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t)); TFE_TensorHandle* th = TFE_NewTensorHandleFromTensor(ctx, t, status);
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/gradients/math_grad.cc
* * where A.T means `transpose(A)` */ AbstractTensorHandle* upstream_grad = grad_outputs[0]; // Get transpose attrs bool t_a; TF_RETURN_IF_ERROR(forward_attrs_.Get("transpose_a", &t_a)); bool t_b; TF_RETURN_IF_ERROR(forward_attrs_.Get("transpose_b", &t_b)); // Conj each input AbstractTensorHandle* conj_output;
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6)