- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RepeatedPtrField (0.29 sec)
-
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
// Referenced from tensorflow::ImporterBase::CreateOperation const auto set_segment_sizes_attr = [&](const tensorflow::NameRangeMap& arg_ranges, const tensorflow::protobuf::RepeatedPtrField< tensorflow::OpDef::ArgDef>& args, llvm::StringRef attr_name) { std::vector<int32_t> values; values.reserve(args.size()); for (const auto& arg : args) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
} // Converts an MLIR dense string elements attribute to a TensorFlow tensor // proto. void ConvertStringElementsAttr( const DenseStringElementsAttr attr, protobuf::RepeatedPtrField<std::string>* output) { for (const auto& val : attr.getRawStringData()) output->Add({val.data(), val.size()}); } template <typename T> void ConvertComplexElementsAttr(const mlir::DenseElementsAttr attr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
tensorflow::OpList op_list; op_list.ParseFromArray(op_list_buffer->data, op_list_buffer->length); ASSERT_GE(op_list.op_size(), 1); typedef tensorflow::protobuf::RepeatedPtrField<tensorflow::OpDef> OpDefs; const OpDefs& ops = op_list.op(); bool found = std::find_if(ops.begin(), ops.end(), [](const tensorflow::OpDef& op_def) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
// Sets operand_segment_sizes or result_segment_sizes attribute to the op. const auto set_segment_sizes_attr = [&](const NameRangeMap& arg_ranges, const protobuf::RepeatedPtrField<OpDef::ArgDef>& args, llvm::StringRef attr_name) { std::vector<int32_t> values; values.reserve(args.size()); for (const auto& arg : args) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)