- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 99 for pool (0.13 sec)
-
tensorflow/c/experimental/gradients/grad_test_helper.h
namespace tensorflow { namespace gradients { namespace internal { void CompareNumericalAndAutodiffGradients( Model model, Model grad_model, AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, bool use_function, double abs_error = 1e-2); void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals, absl::Span<const int64_t> dims, double abs_error = 1e-2);
C - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Thu Jan 14 20:36:51 GMT 2021 - 1.5K bytes - Viewed (0) -
tensorflow/c/eager/graph_function.h
absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord() override { return func_record_.GetNewRef(); } // For LLVM style RTTI. static bool classof(const AbstractFunction* ptr) { return ptr->getKind() == kGraph; } private: core::RefCountPtr<FunctionRecord> func_record_; }; } // namespace graph } // namespace tracing
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Mar 04 19:49:06 GMT 2024 - 1.8K bytes - Viewed (0) -
tensorflow/c/c_api.cc
unsigned char value) { desc->node_builder.Attr(attr_name, static_cast<bool>(value)); } void TF_SetAttrBoolList(TF_OperationDescription* desc, const char* attr_name, const unsigned char* values, int num_values) { std::unique_ptr<bool[]> b(new bool[num_values]); for (int i = 0; i < num_values; ++i) { b[i] = values[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/eager/abstract_operation.h
virtual Status SetAttrInt(const char* attr_name, int64_t value) = 0; virtual Status SetAttrFloat(const char* attr_name, float value) = 0; virtual Status SetAttrBool(const char* attr_name, bool value) = 0; virtual Status SetAttrType(const char* attr_name, DataType value) = 0; virtual Status SetAttrShape(const char* attr_name, const int64_t* dims, const int num_dims) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
} static void FloatDeallocator(void* data, size_t, void* arg) { delete[] static_cast<float*>(data); } TF_Tensor* BoolTensor(bool v) { const int num_bytes = sizeof(bool); bool* values = new bool[1]; values[0] = v; return TF_NewTensor(TF_BOOL, nullptr, 0, values, num_bytes, &BoolDeallocator, nullptr); } TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values) {
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/eager/c_api_remote_function_test.cc
#include "tensorflow/core/platform/test.h" namespace { void TestRemoteExecuteSilentCopiesFunc(bool async, bool remote, bool heavy_load_on_streaming_rpc, bool remote_func_outputs = false, bool has_packed_input = false) { return TestRemoteExecuteSilentCopies(async, remote, /*func=*/true,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/custom_device_test.cc
TFE_Context* context = TFE_NewContext(opts, status.get()); TFE_DeleteContextOptions(opts); ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get()); bool arrived = false; bool executed = false; const char* name = "/job:localhost/replica:0/task:0/device:CUSTOM:0"; RegisterLoggingDevice(context, name, /*strict_scope_placement=*/true,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 27 23:39:24 GMT 2020 - 18.4K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/array_grad_test.cc
outputs[0] = temp_outputs[1]; temp_outputs[0]->Unref(); return absl::OkStatus(); } class CppGradients : 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_ = StatusFromTF_Status(status.get());
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
typedef struct TFE_MonitoringBoolGaugeCell TFE_MonitoringBoolGaugeCell; TF_CAPI_EXPORT extern void TFE_MonitoringBoolGaugeCellSet( TFE_MonitoringBoolGaugeCell* cell, bool value); TF_CAPI_EXPORT extern bool TFE_MonitoringBoolGaugeCellValue( TFE_MonitoringBoolGaugeCell* cell); // APIs for Bool Gauge without label. typedef struct TFE_MonitoringBoolGauge0 TFE_MonitoringBoolGauge0; TF_CAPI_EXPORT extern TFE_MonitoringBoolGauge0* TFE_MonitoringNewBoolGauge0(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_static.cc
#include "tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Register the POSIX filesystems statically. // Return value will be unused bool StaticallyRegisterLocalFilesystems() { TF_FilesystemPluginInfo info; TF_InitPlugin(&info); Status status = filesystem_registration::RegisterFilesystemPluginImpl(&info); if (!status.ok()) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 1.5K bytes - Viewed (0)