- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 50 for Tata (0.12 sec)
-
tensorflow/c/experimental/next_pluggable_device/c_api.cc
TF_Buffer* result = TF_NewBuffer(); const std::string& value_str = *value; void* data = malloc(value_str.length()); value_str.copy(static_cast<char*>(data), value_str.length(), 0); result->data = data; result->length = value_str.length(); result->data_deallocator = [](void* data, size_t length) { free(data); }; return result; }
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Tue Jan 09 00:52:04 GMT 2024 - 13.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_distributed_test.cc
TFE_Context* ctx = TFE_NewContext(opts, status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); TFE_DeleteContextOptions(opts); TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status); EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status); const char task0_name[] = "/job:localhost/replica:0/task:0/device:CPU:0";
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/eager/parallel_device/parallel_device_test.cc
TF_CreateConfig( /*enable_xla_compilation=*/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 - 29.3K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler_test.cc
EXPECT_EQ(num_values, 1); std::vector<TF_Buffer*> in_props_buf(num_values, TF_NewBuffer()); TF_GetInputPropertiesList(graph_properties, node.name().c_str(), in_props_buf.data(), num_values, status); EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); tensorflow::OpInfo::TensorProperties in_props; Status s = tensorflow::BufferToMessage(in_props_buf[0], &in_props);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.cc
GeneralAssignment("AssignVariableOp", context, value, status); } // Passed to `TF_NewTensor` to indicate how an array of floats should be // deleted. static void FloatDeallocator(void* data, size_t, void* arg) { delete[] static_cast<float*>(data); } // Creates a TFE_TensorHandle with value `v`. TensorHandlePtr FloatTensorHandle(float v, TF_Status* status) { const int num_bytes = sizeof(float); float* values = new float[1];
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem_test.cc
ASSERT_TF_OK(status_); auto length = tf_read_only_memory_region::Length(region); ASSERT_EQ(length, content_view.length()); auto data = static_cast<const char*>(tf_read_only_memory_region::Data(region)); ASSERT_TRUE(CompareSubString(0, content_view.length(), data, length)); tf_read_only_memory_region::Cleanup(region); delete region; } TEST_F(GCSFilesystemTest, PathExists) {
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/c_api_function.cc
#include "tensorflow/core/framework/types.h" #include "tensorflow/core/graph/graph.h" #include "tensorflow/core/platform/base64.h" #include "tensorflow/core/platform/strcat.h" #include "tensorflow/core/util/debug_data_dumper.h" using tensorflow::errors::InvalidArgument; namespace tensorflow { namespace { Status ValidateNonRefOutput(const Node* node, int idx) { const DataType& dt = node->output_type(idx);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/gradients_test.cc
} s = AddInput(check_numerics_op.get(), t.get(), &forward_op); ASSERT_EQ(errors::OK, s.code()) << s.message(); string message = "This is the way!"; s = SetAttrString(check_numerics_op.get(), "message", message.data(), message.length(), &forward_op); ASSERT_EQ(errors::OK, s.code()) << s.message(); int num_retvals = 1; std::vector<AbstractTensorHandle*> outputs(1); GradientRegistry registry;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
// Currently only required for non-TFRT use cases, e.g., EagerOp. if (step_id_.has_value()) { tensorflow::unwrap(op_.get())->SetStepId(step_id_.value()); } TFE_Execute(op_.get(), unwrapped_results.data(), &real_num_outputs, status); if (TF_GetCode(status) != TF_OK) { cancellation_manager_->StartCancel(); return; } unwrapped_results.resize(real_num_outputs); outputs->reserve(real_num_outputs);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.cc
tensorflow::string value = cell->cell.value(); void* data = tensorflow::port::Malloc(value.length()); value.copy(static_cast<char*>(data), value.length(), 0); buf->data = data; buf->length = value.length(); buf->data_deallocator = [](void* data, size_t length) { tensorflow::port::Free(data); }; } TFE_MonitoringStringGauge0* TFE_MonitoringNewStringGauge0(
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)