Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 121 for vecotr (0.26 sec)

  1. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.h"
    
    #include <vector>
    
    #include "absl/status/status.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/BuiltinTypes.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/python/flatbuffer_to_mlir.cc

          source_mgr->getMemoryBuffer(source_mgr->getMainFileID());
      std::string error;
      auto loc =
          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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/ops/gen/common/path_config.cc

    namespace tensorflow {
    namespace generator {
    
    PathConfig::PathConfig(const string& output_dir, const string& source_dir,
                           const string& api_dir_list,
                           const std::vector<string> op_names)
        : output_path(output_dir), op_names(op_names) {
      api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty());
    
      // Decompose the directory components given the output/source directories.
      //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo.h

    //   success, or an absl::Status with an error message on failure.
    absl::StatusOr<OwningOpRef<ModuleOp>> TfToStablehlo(
        absl::string_view input_path, MLIRContext* context,
        const std::vector<std::string>& exported_model_signatures,
        const std::vector<std::string>& tag_names,
        absl::string_view input_arg_shapes_str, bool is_input_mlir_module);
    
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.cc

    #include "tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h"
    
    #include <optional>
    #include <string>
    #include <unordered_set>
    #include <utility>
    #include <vector>
    
    #include "absl/algorithm/container.h"
    #include "absl/base/nullability.h"
    #include "absl/container/flat_hash_map.h"
    #include "absl/log/die_if_null.h"
    #include "absl/log/log.h"
    #include "absl/status/status.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/common/view_util.cc

    namespace tensorflow {
    namespace generator {
    
    string Call(const string& object, const string& method,
                std::vector<string> arguments, const char* oper) {
      return absl::Substitute("$0$1$2($3)", object, oper, method,
                              absl::StrJoin(arguments, ", "));
    }
    
    string Call(const string& function, std::vector<string> arguments) {
      return absl::Substitute("$0($1)", function, absl::StrJoin(arguments, ", "));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 09:51:28 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/utils/utils.cc

      }
    
      mlir::Location loc =
          mlir::FileLineColLoc::get(context, input_filename, /*line=*/0,
                                    /*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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 03:47:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tf_to_stablehlo_translate.cc

      mlir::MLIRContext context(registry);
      context.loadAllAvailableDialects();
    
      bool is_input_mlir_module = absl::EndsWith(input_path, ".mlir");
      std::vector<std::string> exported_model_signatures_in_vector =
          absl::StrSplit(exported_model_signatures, ',');
      std::vector<std::string> tag_names_in_vector = absl::StrSplit(tag_names, ',');
      auto module = TfToStablehlo(
          input_path, &context, exported_model_signatures_in_vector,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/lite/quantize_weights_test.cc

          tensorflow::io::JoinPath(*g_test_model_dir, internal::kModelWithCustomOp);
      return FlatBufferModel::BuildFromFile(model_path.c_str());
    }
    
    template <typename T>
    std::vector<T> GetAsVector(const flatbuffers::Vector<T>* vec) {
      return std::vector<T>(vec->begin(), vec->end());
    }
    
    class QuantizeWeightsTest : public testing::Test {
     protected:
      QuantizeWeightsTest() {}
    
      void LoadBasicModel() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/xla_tpu_device.cc

    class TpuNodeDeviceFactory : public DeviceFactory {
     public:
      Status ListPhysicalDevices(std::vector<string>* devices) override;
      Status CreateDevices(const SessionOptions& options, const string& name_prefix,
                           std::vector<std::unique_ptr<Device>>* devices) override;
    };
    
    Status TpuNodeDeviceFactory::ListPhysicalDevices(std::vector<string>* devices) {
      tpu::TpuPlatformInterface* platform =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top