Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for vecotr (0.35 sec)

  1. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.cc

    // from a saved model or from an mlir file.
    absl::StatusOr<quant::stablehlo::ImportedMlirModuleOp> ImportSavedModelOrTfMlir(
        absl::string_view input_path, MLIRContext* context,
        const std::vector<std::string>& exported_model_signatures,
        const std::vector<std::string>& tag_names, bool is_input_mlir_module) {
      if (is_input_mlir_module) {
        std::string error_message;
        std::unique_ptr<llvm::MemoryBuffer> file =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/string_utils.h

      int WriteToBuffer(char** buffer);
    
     private:
      // Data buffer to store contents of strings, not including headers.
      std::vector<char> data_;
      // Offset of the starting index of each string in data buffer.
      std::vector<size_t> offset_;
      // Max length in number of characters that we permit the total
      // buffer containing the concatenation of all added strings to be.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf.cc

        llvm::StringRef device_type,
        std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes,
        XlaShapeLayoutHelpers::ShapeDeterminationFns shape_determination_fns,
        const std::vector<tensorflow::TensorShape>& arg_shapes,
        std::vector<tpu::ShardingAndIndex>* arg_core_mapping,
        std::vector<std::vector<xla::Shape>>* per_core_arg_shapes,
        xla::CompileOnlyClient* client) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 00:40:46 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.cc

    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/compiler/mlir/quantization/stablehlo/python/pywrap_quantization_lib.h"
    
    #include <string>
    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/config.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 02:51:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.h

    //   module on success, or an error status on failure.
    absl::StatusOr<std::string> PywrapSavedModelToStablehlo(
        absl::string_view input_path,
        const std::vector<std::string>& exported_model_signatures,
        const std::vector<std::string>& tag_names,
        absl::string_view input_arg_shapes_str);
    
    // Converts a TensorFlow MLIR module string to a StableHLO MLIR module and
    // serializes it to bytecode.
    //
    // Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

    StatusOr<Operation*> ConvertOp(
        const tflite::OperatorT& op, const std::vector<Value>& vals_map,
        const std::vector<mlir::TensorType>& intermediate_types,
        Value optional_arg_marker,
        const std::vector<std::unique_ptr<tflite::OperatorCodeT>>& op_codes,
        const std::vector<std::string>& func_names,
        const std::vector<std::unique_ptr<tflite::TensorT>>& tensors, Location loc,
        OpBuilder builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        const toco::ModelFlags& model_flags, toco::TocoFlags& toco_flags,
        mlir::quant::QuantizationSpecs* quant_specs,
        std::vector<std::string>* node_names, std::vector<std::string>* node_dtypes,
        std::vector<std::optional<std::vector<int>>>* node_shapes,
        std::vector<std::optional<double>>* node_mins,
        std::vector<std::optional<double>>* node_maxs) {
      quant_specs->inference_input_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo.cc

      // LINT.IfChange(savedmodel_to_stablehlo)
      m.def(
          "savedmodel_to_stablehlo",
          [](absl::string_view input_path,
             const std::vector<std::string>& exported_model_signatures =
                 {"serving_default"},
             const std::vector<std::string>& tag_names = {"serve"},
             absl::string_view input_arg_shapes_str = "") -> py::bytes {
            auto module_bytecode =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      };
      const ::flatbuffers::Vector<float> *min() const {
        return GetPointer<const ::flatbuffers::Vector<float> *>(VT_MIN);
      }
      const ::flatbuffers::Vector<float> *max() const {
        return GetPointer<const ::flatbuffers::Vector<float> *>(VT_MAX);
      }
      const ::flatbuffers::Vector<float> *scale() const {
        return GetPointer<const ::flatbuffers::Vector<float> *>(VT_SCALE);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/shape_inference.h

      // variable's value.
      DataType handle_type = DT_INVALID;
      PartialTensorShape handle_shape;
    };
    typedef std::unordered_map<string, std::vector<InferredShape>> GraphShapeInfo;
    
    // Infer shapes for all Tensors in a graph, and save them in a map.  The vector
    // for a Node contains the information about each of its outputs.
    // TODO(phawkins): this code does not infer accurate shapes for cyclic graphs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 2.2K bytes
    - Viewed (0)
Back to top