Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 660 for stdx (0.03 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/test_passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreateTestClusteringPolicyPass();
    
    // Test pass for analyzing side-effect analysis result.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTestSideEffectAnalysisPass();
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTestResourceAliasAnalysisPass();
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInitTextFileToImportTestPass();
    std::unique_ptr<OperationPass<ModuleOp>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 00:21:29 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc

    }
    
    absl::StatusOr<std::optional<SaverDef>> CreateSaverDef(
        const std::vector<std::string>& control_ret_node_names,
        const GraphDef& graph_def) {
      const std::string filename_tensor_name = FindFilePrefixTensorName(graph_def);
      const std::string restore_op_name =
          GetNodeName(control_ret_node_names, kTfSavedModelInitializerRestoreType);
      const std::string save_node_name =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.cc

    #include <string>
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.h"
    
    namespace tensorflow {
    DataDumperLoggerConfig::DataDumperLoggerConfig(
        std::function<std::string(const std::string &, mlir::Operation *op)>
            get_filename,
        const std::string &pass_prefix, bool print_module_scope,
        bool print_after_only_on_change, mlir::OpPrintingFlags op_printing_flags)
        : ::tensorflow::BridgeLoggerConfig(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 00:41:24 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/string_util.cc

      return out;
    }
    
    std::string AttrAsString(mlir::Attribute& attr) {
      std::string out;
      llvm::raw_string_ostream attr_stream(out);
      attr.print(attr_stream);
      return out;
    }
    
    std::ostream& operator<<(std::ostream& o, const LoggableOperation& op) {
      return o << OpAsString(op.v);
    }
    
    std::ostream& operator<<(std::ostream& o, const LoggableAttribute& attr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 23:18:40 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h

     private:
      static void DumpMlir(const std::string &filename,
                           BridgeLoggerConfig::PrintCallbackFn print_callback);
    
      // The function to dump the target MLIR string to file.
      // The parameter that will be sent to the dump_func_ is:
      // The pass name (std::string)
      std::function<std::string(const std::string &, mlir::Operation *op)>
          get_filename_;
    
      // The pass prefix.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 00:41:24 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/py_wrapper/tac_wrapper.cc

    namespace tflite {
    namespace {
    std::unique_ptr<mlir::TFL::tac::TacImporter> CreateTfLiteImporter(
        const std::string input_file_name) {
      mlir::TFL::tac::TfLiteImporter::Options options;
      options.file_name = input_file_name;
      options.input_mlir = false;
      return std::make_unique<mlir::TFL::tac::TfLiteImporter>(options);
    }
    
    std::unique_ptr<mlir::TFL::tac::TacExporter> CreateTfLiteExporter(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  7. tensorflow/cc/saved_model/util.cc

    namespace tensorflow {
    namespace saved_model {
    
    std::string GetWriteVersion(const SavedModel& saved_model) {
      if (saved_model.meta_graphs_size() == 1 &&
          saved_model.meta_graphs()[0].has_object_graph_def()) {
        return "2";
      }
      return "1";
    }
    
    std::set<std::string> GetMapKeys(
        const ::google::protobuf::Map<std::string, ::tensorflow::TensorProto>& map) {
      std::set<std::string> keys;
      for (const auto& it : map) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/cc/training/coordinator_test.cc

    TEST(CoordinatorTest, TestJoin) {
      Coordinator coord;
      int join_counter = 0;
      std::unique_ptr<MockQueueRunner> qr1(
          new MockQueueRunner(&coord, &join_counter));
      TF_ASSERT_OK(coord.RegisterRunner(std::move(qr1)));
      std::unique_ptr<MockQueueRunner> qr2(
          new MockQueueRunner(&coord, &join_counter));
      TF_ASSERT_OK(coord.RegisterRunner(std::move(qr2)));
    
      TF_EXPECT_OK(coord.RequestStop());
      TF_EXPECT_OK(coord.Join());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 23 09:10:43 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/xla_launch_util.cc

    Status PreparePjRtExecutableArguments(
        int num_missing_prefix_ctx_inputs, const std::vector<int>& input_mapping,
        const std::vector<const Tensor*>& inputs,
        const absl::flat_hash_map<int, const Tensor*>& variable_snapshots,
        xla::PjRtClient* pjrt_client, xla::PjRtDevice* pjrt_device,
        bool use_pjrt_tensor_buffer, std::vector<xla::PjRtBuffer*>* args,
        std::vector<std::unique_ptr<xla::PjRtBuffer>>* owned_args,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

    TEST_F(CalibrationStatisticsSaverTest, SimpleMinMax) {
      std::vector<std::string> ids{"1"};
      std::vector<int32_t> calibration_methods{
          CalibrationOptions::CALIBRATION_METHOD_MIN_MAX};
    
      std::vector<NodeDefBuilder::NodeOut> inputs;
      inputs.emplace_back("min", 0, DT_FLOAT);
      inputs.emplace_back("max", 0, DT_FLOAT);
      inputs.emplace_back("histogram", 0, DT_INT64);
    
      const std::string dir = testing::TmpDir();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top