- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 29 for Tata (0.14 sec)
-
tensorflow/c/eager/c_api_cluster_test.cc
TFE_ContextUpdateServerDef(ctx, 0, serialized_update.data(), serialized_update.size(), status); EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status); // Even after the prevoiusly failed cluster update, another update and op // execution should work fine as long as the provided server_def is valid. TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Apr 14 10:03:59 GMT 2023 - 19.3K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
} int TF_OpIsStateful(const char* op_type, TF_Status* status) { const tensorflow::OpRegistrationData* op_reg_data; status->status = tensorflow::OpRegistry::Global()->LookUp(op_type, &op_reg_data); if (!status->status.ok()) { return 0; } return op_reg_data->op_def.is_stateful(); } void TF_InitMain(const char* usage, int* argc, char*** argv) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc
TF_CreateConfig( /*xla*/ false, /* gpu_memory_allow_growth */ true, /* num_cpu_devices */ 2), TF_DeleteBuffer); TFE_ContextOptionsSetConfig(opts.get(), config->data, config->length, status.get()); std::unique_ptr<TFE_Context, decltype(&TFE_DeleteContext)> context( TFE_NewContext(opts.get(), status.get()), TFE_DeleteContext);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 08 23:47:35 GMT 2021 - 15.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
plugin_memory_allocate(TF_READ_ONLY_MEMORY_REGION_OPS_SIZE)); ops->read_only_memory_region_ops->cleanup = tf_read_only_memory_region::Cleanup; ops->read_only_memory_region_ops->data = tf_read_only_memory_region::Data; ops->read_only_memory_region_ops->length = tf_read_only_memory_region::Length; ops->filesystem_ops = static_cast<TF_FilesystemOps*>( plugin_memory_allocate(TF_FILESYSTEM_OPS_SIZE));
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
owner->reference.Unref(); delete owner; } // Converts TF_DATAType to DLPack data type. DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) { DLDataType dtype; dtype.lanes = 1; dtype.bits = TF_DataTypeSize(data_type) * 8; switch (data_type) { case TF_DataType::TF_BOOL: dtype.code = DLDataTypeCode::kDLBool; break; case TF_DataType::TF_HALF:
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
using tensorflow::NodeDef; static void BoolDeallocator(void* data, size_t, void* arg) { delete[] static_cast<bool*>(data); } static void Int32Deallocator(void* data, size_t, void* arg) { delete[] static_cast<int32_t*>(data); } static void DoubleDeallocator(void* data, size_t, void* arg) { delete[] static_cast<double*>(data); } static void FloatDeallocator(void* data, size_t, void* arg) { delete[] static_cast<float*>(data);
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/experimental/grappler/grappler.cc
#include "tensorflow/core/framework/op.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/grappler/costs/graph_properties.h" #include "tensorflow/core/grappler/costs/op_performance_data.pb.h" #include "tensorflow/core/grappler/grappler_item.h" #include "tensorflow/core/grappler/optimizers/custom_graph_optimizer_registry.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/status.h"
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/eager/gradients.cc
return absl::OkStatus(); } Status SetAttrString(AbstractOperation* op_, const char* attr_name, const char* data, size_t length, ForwardOperation* forward_op_) { forward_op_->attrs.Set(attr_name, StringPiece(data, length)); return op_->SetAttrString(attr_name, data, length); } Status SetAttrInt(AbstractOperation* op_, const char* attr_name, int64_t value,
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 19.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
<< " at position " << pos << " with data size " << data.size(); TF_SetStatus(status, TF_OUT_OF_RANGE, std::move(os).str().c_str()); return total_bytes_transferred; } auto begin = data.begin(); if (offset > pos) { // The block begins before the slice we're reading. begin += offset - pos; } auto end = data.end(); if (pos + data.size() > offset + n) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_test.cc
// Copy Tensor data into an array. float result_data[4] = {0}; memcpy(&result_data[0], TF_TensorData(result_tensor), TF_TensorByteSize(result_tensor)); int data_len = 4; // length of result_data for (int i = 0; i < data_len; i++) { EXPECT_EQ(result_data[i], 0); } TF_DeleteTensor(result_tensor);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 19 21:44:52 GMT 2023 - 39.1K bytes - Viewed (0)