- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for Memcpy (0.6 sec)
-
tensorflow/c/c_api.cc
status->status = s->session->PRunSetup(input_names, output_names, target_oper_names, &new_handle); if (status->status.ok()) { char* buf = new char[new_handle.size() + 1]; memcpy(buf, new_handle.c_str(), new_handle.size() + 1); *handle = buf; } } void TF_PRun(TF_DeprecatedSession* s, const char* handle, // Input tensors
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
const std::string attrs = mlir::cast<mlir::TFL::ConstBytesAttr>(op.getCustomOption()) .getValue() .str(); std::vector<uint8_t> custom_option_vector(attrs.size(), 0); memcpy(custom_option_vector.data(), attrs.data(), attrs.size()); auto opcode_index = GetOpcodeIndex(op.getCustomCode().str(), tflite::BuiltinOperator_CUSTOM); if (use_buffer_offset_) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
input_shape_type, current_input_index); // Address of input element to write raw data. const char* input_element_addr = raw_input + (input_flat_index * element_byte_size); std::memcpy(output_element_addr, input_element_addr, element_byte_size); // Increment the next output address to write to by bytes equal to // width of constiuent elements. output_element_addr += element_byte_size;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0)