- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for initialized (0.28 sec)
-
tensorflow/c/c_api_macros_internal.h
#ifndef TENSORFLOW_C_C_API_MACROS_INTERNAL_H_ #define TENSORFLOW_C_C_API_MACROS_INTERNAL_H_ #ifdef __cplusplus #include "tensorflow/core/platform/status.h" // Macro to verify that the field `struct_size` of STRUCT_OBJ is initialized. // `struct_size` is used for struct member compatibility check between core TF // and plug-ins with the same C API minor version. More info here:
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 13 17:40:56 GMT 2023 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
int64_t init_timeout_in_ms, int retries, bool clear_existing_contexts = false) = 0; // Initializes context for the local worker and no contexts will be created // for remote workers. Currently this only works for resetting context. // TODO(b/289445025): Consider removing this when we find a proper fix.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/api_template.__init__.py
_optimizers = _KerasLazyLoader( globals(), submodule="optimizers", name="optimizers") _initializers = _KerasLazyLoader( globals(), submodule="initializers", name="initializers") setattr(_current_module, "losses", _losses) setattr(_current_module, "metrics", _metrics) setattr(_current_module, "optimizers", _optimizers) setattr(_current_module, "initializers", _initializers)
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/c_api.cc
} if (!result.ok()) { status->status = result; return; } // Store results in c_outputs[] for (int i = 0; i < noutputs; ++i) { const Tensor& src = outputs[i]; if (!src.IsInitialized() || src.NumElements() == 0) { c_outputs[i] = EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape()); continue; } c_outputs[i] = TF_TensorFromTensor(src, &status->status);
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/eager/c_api_distributed_test.cc
TFE_TensorHandle* h1 = TestVariable(ctx, 2.0, task2_name); TFE_TensorHandle* h2 = TestVariable(ctx, 3.0, task0_name); // Add a sync point to make sure that variables have been initialized // before the function execution starts. TFE_ContextAsyncWait(ctx, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); // Pack 3 variable handles into one TFE_TensorHandle.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/c_api.h
// Creates a TF_WhileParams for creating a while loop in `g`. `inputs` are // outputs that already exist in `g` used as initial values for the loop // variables. // // The returned TF_WhileParams will have all fields initialized except // `cond_output`, `body_outputs`, and `name`. The `body_outputs` buffer will be // allocated to size `ninputs`. The caller should build `cond_graph` and
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/gradient_checker.cc
TF_TensorByteSize(theta_tensor)); // Initialize space for the numerical gradient. vector<float> dtheta_approx(num_elems); // Get theta shape and store in theta_dims. int num_dims = TF_NumDims(theta_tensor); vector<int64_t> theta_dims(num_dims); GetDims(theta_tensor, theta_dims.data()); // Initialize auxilary data structures. vector<float> thetaPlus_data(num_elems);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
status_ = TF_NewStatus(); filesystem_ = new TF_Filesystem; filesystem_->plugin_filesystem = nullptr; // Because different tests requires different setup for filesystem. We // initialize filesystem in each testcase. } void TearDown() override { TF_DeleteStatus(status_); if (filesystem_->plugin_filesystem != nullptr) tf_gcs_filesystem::Cleanup(filesystem_); delete filesystem_;
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 12:04:23 GMT 2020 - 24.9K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
uint64_t block_size, size_t max_bytes, uint64_t max_staleness, uint64_t stat_cache_max_age, size_t stat_cache_max_entries); } GCSFile; // This function is used to initialize a filesystem without the need of setting // manually environement variables. void InitTest(TF_Filesystem* filesystem, bool compose, uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
RegisterParallelDevice(context, device_name, underlying_devices, status.get()); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); // Create a variable handle (uninitialized to start) placed on the parallel // device. std::function<void(Variable*)> variable_deleter = [&](Variable* to_delete) { to_delete->Destroy(context, status.get());
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Jun 15 15:44:44 GMT 2021 - 12.5K bytes - Viewed (0)