- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for mijn (0.14 sec)
-
tensorflow/c/c_api_test.cc
if (!device.empty()) { LOG(INFO) << "Setting op Min on device " << device; } TF_Operation* min = MinWithDevice(feed, one, graph, device, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Run the graph. csession.SetInputs({{feed, Int32Tensor({3, 2, 5})}}); csession.SetOutputs({min}); csession.Run(s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc
char* buffer, TF_Status* status) -> int64_t { int64_t bytes_transferred; if (offset < buf.size()) { size_t bytes_to_copy = std::min<size_t>(buf.size() - offset, n); memcpy(buffer, buf.data() + offset, bytes_to_copy); bytes_transferred = bytes_to_copy; } else { bytes_transferred = 0; } TF_SetStatus(status, TF_OK, "");
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:57 GMT 2021 - 23.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
} TEST(CAPI, Execute_MatMul_CPU_Type_Error) { Execute_MatMul_CPU_Type_Error(false); } TEST(CAPI, Execute_MatMul_CPU_Type_ErrorAsync) { Execute_MatMul_CPU_Type_Error(true); } TEST(CAPI, Execute_Min_CPU) { TF_Status* status = TF_NewStatus(); TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_Context* ctx = TFE_NewContext(opts, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/experimental/grappler/grappler.cc
TF_SetStatus(status, TF_OK, ""); const std::vector<std::string>& nodes = reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item)->fetch; const int len = std::min(num_values, static_cast<int>(nodes.size())); char* p = static_cast<char*>(storage); for (int index = 0; index < len; ++index) { const std::string& s = nodes[index]; values[index] = p;
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/c_test_util.cc
const string& op_device, TF_Status* s, const char* name) { TF_Operation* op; BinaryOpHelper("Min", l, r, graph, s, name, &op, op_device, true); return op; } TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph, TF_Status* s, const char* name) { return MinWithDevice(l, r, graph, /*op_device=*/"", s, name); }
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/c_api.cc
InvalidArgument("Attribute '", attr_name, "' is not a string"); return; } if (max_length <= 0) { return; } const auto& s = attr->s(); std::memcpy(value, s.data(), std::min<size_t>(s.length(), max_length)); } void TF_OperationGetAttrStringList(TF_Operation* oper, const char* attr_name, void** values, size_t* lengths,
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/c_test_util.h
TF_Operation* Add(TF_Output l, TF_Output r, TF_Graph* graph, TF_Status* s, const char* name = "add"); TF_Operation* Min(TF_Operation* l, TF_Operation* r, TF_Graph* graph, TF_Status* s, const char* name = "min"); TF_Operation* Mul(TF_Operation* l, TF_Operation* r, TF_Graph* graph, TF_Status* s, const char* name = "mul");
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 09 01:06:53 GMT 2018 - 6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc
template <typename T> static std::unique_ptr<const T> CopyToCore(const T* plugin_ops, size_t plugin_size) { if (plugin_ops == nullptr) return nullptr; size_t copy_size = std::min(plugin_size, sizeof(T)); auto core_ops = std::make_unique<T>(); memset(core_ops.get(), 0, sizeof(T)); memcpy(core_ops.get(), plugin_ops, copy_size); return core_ops; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 07 22:08:43 GMT 2023 - 12.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
size_t buffer_end = gcs_file->buffer_start + gcs_file->buffer.size(); size_t copy_size = 0; if (offset < buffer_end && gcs_file->buffer_start) { copy_size = (std::min)(n, static_cast<size_t>(buffer_end - offset)); memcpy(buffer, gcs_file->buffer.data() + (offset - gcs_file->buffer_start), copy_size); } bool consumed_buffer_to_eof =
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/c_api_test_util.cc
return th; } TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input, TFE_TensorHandle* axis) { TF_Status* status = TF_NewStatus(); TFE_Op* op = TFE_NewOp(ctx, "Min", status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(op, input, status); CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status); TFE_OpAddInput(op, axis, 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)