Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 66 for Auto (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      };
    
      int num_tpus_per_host = 0;
      {
        const auto& device = system_devices[0];
        auto host_tpu_devices = lookup(device);
        num_tpus_per_host = host_tpu_devices.size();
        tpu_devices.push_back(std::move(host_tpu_devices));
      }
    
      for (const auto& device_spec : llvm::make_range(
               std::next(system_devices.begin()), system_devices.end())) {
        auto host_tpu_devices = lookup(device_spec);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

      confs.export_original_tf_func_name = export_original_tf_func_name;
    
      std::unique_ptr<tensorflow::FunctionLibraryDefinition> flib_def;
      auto graph =
          std::make_unique<tensorflow::Graph>(tensorflow::OpRegistry::Global());
      absl::flat_hash_set<tensorflow::Node*> control_ret_nodes;
      auto status = tensorflow::tf2xla::v2::ConvertMlirToGraph(
          module, confs, &graph, flib_def.get(), &control_ret_nodes);
      if (!status.ok()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tf_graph_optimization_pass.cc

      for (const auto& group : OptimizationPassRegistry::Global()->groups()) {
        for (const auto& phase : group.second) {
          for (const auto& pass : phase.second) {
            // Iterate over the pass_names_ and insert the pass pointer at all the
            // corresponding indices in the pass_ids vector.
            auto iter = pass_names.begin();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    
    auto* mlir_function_pass_fallback_count = monitoring::Counter<1>::New(
        /* metric name */ "/tensorflow/core/mlir_function_pass_fallback_count",
        /* metric description */
        "Track success/failure of MLIR pass runs when fallback used",
        /* metric field */ "status");
    
    auto* mlir_graph_optimization_pass_fallback_count = monitoring::Counter<1>::New(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

                                tpu::TPUCompileMetadataProto& metadata_proto) {
      auto main_fn = module.lookupSymbol<mlir::func::FuncOp>(kEntryFuncName);
      if (!main_fn) {
        return absl::InternalError("Could not find main function in MLIR Module.");
      }
    
      mlir::FunctionType func_type = main_fn.getFunctionType();
      for (auto input_type : func_type.getInputs()) {
        tensorflow::TensorShape tensor_shape;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

              },
              "custom": {
                "axisBorderShow": false,
                "axisCenteredZero": false,
                "axisColorMode": "text",
                "axisLabel": "",
                "axisPlacement": "auto",
                "barAlignment": 0,
                "drawStyle": "line",
                "fillOpacity": 10,
                "gradientMode": "none",
                "hideFrom": {
                  "legend": false,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/lite/tfl_quantizer.cc

      auto file_or_err = llvm::MemoryBuffer::getFileOrSTDIN(inputFileName.c_str());
      if (std::error_code error = file_or_err.getError()) {
        llvm::errs() << argv[0] << ": could not open input file '" << inputFileName
                     << "': " << error.message() << "\n";
        return 1;
      }
      auto buffer = file_or_err->get();
      std::string output_buffer;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. 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);
    
      flatbuffers::FlatBufferBuilder builder;
      auto status = mlir::lite::SparsifyModel(*tflite_model, &builder);
    
      if (!status.ok()) {
        error_reporter->exception();
        return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  9. samples/addons/grafana.yaml

    lor":"red","value":80}]},"unit":"ops"},"overrides":[]},"gridPos":{"h":3,"w":6,"x":0,"y":3},"id":20,"links":[],"maxDataPoints":100,"options":{"colorMode":"none","graphMode":"area","justifyMode":"auto","orientation":"horizontal","reduceOptions":{"calcs":["mean"],"fields":"","values":false},"textMode":"auto"},"pluginVersion":"10.1.5","targets":[{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"round(sum(irate(istio_requests_total{reporter=\"source\"}[1m])), 0.001)","intervalFactor":...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      uint32_t num_replicas = replicate.getN();
    
      auto num_cores_per_replica_attr = cluster->getAttrOfType<mlir::IntegerAttr>(
          tensorflow::kNumCoresPerReplicaAttr);
      if (!num_cores_per_replica_attr)
        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr));
      int num_cores_per_replica = num_cores_per_replica_attr.getInt();
    
      auto topology_attr = cluster->getAttrOfType<StringAttr>("topology");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
Back to top