Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for module_ctor (0.24 sec)

  1. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

      auto module_or = GraphdefToMlirImport(
          input, input_arrays, input_dtypes, input_shapes, output_arrays,
          control_output_arrays, import_options, context);
      if (!module_or.status().ok()) {
        LOG(ERROR) << "Graph import failed: " << module_or.status();
        return module_or.status();
      }
      auto& module = module_or.value();
      std::srand(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/python/mlir.cc

      mlir::MLIRContext context(registry);
      auto module_or = ConvertSavedModelToMlir(
          &bundle, &context, absl::Span<std::string>(exported_names));
      if (!module_or.status().ok()) {
        tsl::Set_TF_Status_from_Status(status, module_or.status());
        return "// error";
      }
    
      return MlirModuleToString(*std::move(module_or).value(), show_debug_info);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:16:49 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc

      if (saved_model_version == 2) {
        auto module_or = SavedModelObjectGraphToMlirImport(
            input_filename, tags, exported_names, context,
            /*unconditionally_use_set_output_shapes=*/true);
        if (!module_or.status().ok()) return module_or.status();
        return std::move(module_or).value();
      } else if (saved_model_version == 1) {
        MLIRImportOptions options;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc

      EXPECT_FALSE(IsTPUDevice("/job:localhost/replica:0/task:0/device:CPU:0"));
      EXPECT_FALSE(IsTPUDevice("INVALID_DEVICE"));
    }
    
    TEST(TPURewriteDeviceUtilTest, TestDeviceToHostMapBadTopology) {
      static const char* const module_str =
          R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc

      func.func @main() -> () {
        func.return
      }
    })";
    
    MlirToHloArgs CreateTestMlirToHloArgs(const char* module_str = kMlirModuleStr) {
      MlirToHloArgs mlir_to_hlo_args;
      mlir_to_hlo_args.rollout_state =
          ConfigProto::Experimental::MLIR_BRIDGE_ROLLOUT_DISABLED;
      mlir_to_hlo_args.mlir_module = module_str;
    
      return mlir_to_hlo_args;
    }
    
    class CompileTFGraphTest : public ::testing::Test {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 08:08:57 UTC 2024
    - 11.7K bytes
    - Viewed (0)
Back to top