Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for UnPackTo (0.08 sec)

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

      if (!model) {
        PyErr_Format(PyExc_ValueError, "Invalid model");
        return nullptr;
      }
      auto tflite_model = std::make_unique<tflite::ModelT>();
      model->GetModel()->UnPackTo(tflite_model.get(), nullptr);
    
      const tflite::TensorType inference_tensor_type =
          FromTocoDataTypeToTflitToTensorType(inference_type);
      const tflite::TensorType input_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

    constexpr bool kUseUpdatedHybridSchemeDefault = true;
    
    std::unique_ptr<ModelT> CreateMutableModelFromFile(const Model* input_model) {
      auto copied_model = std::make_unique<ModelT>();
      input_model->UnPackTo(copied_model.get(), nullptr);
      return copied_model;
    }
    
    std::unique_ptr<FlatBufferModel> ReadTestModel() {
      auto model_path = tensorflow::io::JoinPath(
          *g_test_model_dir, internal::kConvModelWith0Plus10Weights);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
Back to top