Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getBufferStart (0.33 sec)

  1. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

          mlir::FileLineColLoc::get(context, input->getBufferIdentifier(), 0, 0);
      std::vector<std::string> inputs;
      std::vector<std::string> outputs;
      return tflite::FlatBufferToMlir(
          absl::string_view(input->getBufferStart(), input->getBufferSize()),
          context, loc, false, inputs, outputs, false);
    }
    
    }  // namespace
    
    std::string FlatBufferFileToMlir(const std::string& model_file_or_buffer,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/import_utils.cc

            "Could not open input file ",
            string(input_filename.data(), input_filename.size()).c_str());
      }
    
      const auto& input_file = *file_or_err;
      absl::string_view content(input_file->getBufferStart(),
                                input_file->getBufferSize());
      return LoadProtoFromBuffer(content, proto);
    }
    
    Status LoadProtoFromFile(absl::string_view input_filename,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

                                    /*column=*/0);
      std::vector<std::string> inputs;
      std::vector<std::string> outputs;
      return tflite::FlatBufferToMlir(
          absl::string_view(buffer->getBufferStart(), buffer->getBufferSize()),
          context, loc, /*use_external_constant=*/false, inputs, outputs,
          experimental_prune_unreachable_nodes_unconditionally);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_translate.cc

        return emitError(loc, "parsing output array info failed ")
                   << output_arrays_flag,
               nullptr;
      }
      return tflite::FlatBufferToMlir(
          absl::string_view(input->getBufferStart(), input->getBufferSize()),
          context, loc, use_external_constant, inputs, outputs,
          experimental_prune_unreachable_nodes_unconditionally,
          disable_vhlo_to_stablehlo);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 14 19:15:40 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/python/mlir.cc

          TF_SetStatus(status, TF_INVALID_ARGUMENT,
                       ("Unable to load input file " + error).c_str());
          return;
        }
    
        auto buffer_view =
            std::string_view(buffer->getBufferStart(), buffer->getBufferSize());
        module = tflite::FlatBufferToMlir(
            buffer_view, &context, loc, use_external_constant, ordered_input_arrays,
            ordered_output_arrays);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top