Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 47 for constexpr (0.23 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v1/cluster_tf_test.cc

    namespace v1 {
    namespace {
    
    using ::mlir::DialectRegistry;
    using ::mlir::MLIRContext;
    using ::mlir::ModuleOp;
    using ::mlir::OwningOpRef;
    using ::tensorflow::monitoring::testing::CellReader;
    
    static constexpr char kCompilationStreamz[] =
        "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count";
    
    std::string TestDataPath() {
      return tensorflow::GetDataDependencyFilepath(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

    #include "tensorflow/core/protobuf/tpu/compile_metadata.pb.h"
    #include "tsl/platform/errors.h"
    
    namespace tensorflow {
    namespace tf2xla {
    namespace internal {
    namespace {
    
    constexpr char kEntryFuncName[] = "main";
    
    absl::Status SetupArguments(mlir::ModuleOp module,
                                std::vector<TensorShape>& arg_shapes,
                                tpu::TPUCompileMetadataProto& metadata_proto) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/api/v2/cluster_tf_test.cc

    using ::tensorflow::monitoring::testing::CellReader;
    
    std::string TestDataPath() {
      return tensorflow::GetDataDependencyFilepath(
          "tensorflow/compiler/mlir/tf2xla/api/v2/testdata/");
    }
    
    static constexpr char kCompilationStreamz[] =
        "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count";
    
    class FunctionClusterTensorflowDialectTest : public ::testing::Test {
     public:
      FunctionClusterTensorflowDialectTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h

    class CalibrationComponent : public Component {
     public:
      // Name of the post-training quantization post-calibration step. Used for
      // debugging purposes.
      static constexpr absl::string_view kName = "quant_ptq_calibration";
    
      // `CalibrationComponent` ctor with necessary information required to run
      // calibration on a `ModuleOp`. Meta information like `function_aliases`,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/lower_cluster_to_runtime_ops_test.cc

    using tsl::DeviceType;
    
    std::string TestDataPath() {
      return tensorflow::GetDataDependencyFilepath(
          "tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/testdata/");
    }
    
    static constexpr char kCompilationStreamz[] =
        "/tensorflow/core/tf_mlir_bridge_first_phase_v2_count";
    
    class LowerClusterToRuntimeOpsTest : public ::testing::Test {
     public:
      LowerClusterToRuntimeOpsTest() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:44:37 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

    using mlir::SymbolTable;
    using mlir::Value;
    using mlir::func::FuncOp;
    using tsl::StatusOr;
    
    namespace {
    
    constexpr char kDeviceAttr[] = "tf.device";
    constexpr char kResourceArgUniqueIdAttr[] = "tf._resource_arg_unique_id";
    constexpr char kEntryFuncAttr[] = "tf.entry_function";
    constexpr char kAliasingAttr[] = "tf.aliasing_output";
    
    // OpOrArgLocNameMapper that legalizes the returned name.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/initialize_variables_in_session_init.cc

          llvm::ArrayRef<mlir::Value>{var_handle_op_in_init->getResult(0),
                                      const_op.getResult()});
    }
    
    func::FuncOp CreateSessionInitFunc(ModuleOp module) {
      constexpr char kSessionInitFuncName[] = "SessionInitializerFunction";
    
      mlir::OpBuilder builder(module.getBodyRegion());
      auto func_type =
          FunctionType::get(module.getContext(), /*inputs=*/{}, /*results=*/{});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc

        "optimization pass",
        /* metric field */ "status");
    
    // The status metric field is used to record success/failure of mlir
    // function/graph optimization passes.
    constexpr char kSuccess[] = "kSuccess";
    constexpr char kFailure[] = "kFailure";
    
    static inline absl::string_view StringRefToView(llvm::StringRef ref) {
      return {ref.data(), ref.size()};
    }
    
    // Dumps the MLIR module to disk.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/translate/import_model.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    constexpr StringRef kSharedNameAttr = "shared_name";
    
    class LiftHashTableOpsAsArgsPass
        : public PassWrapper<LiftHashTableOpsAsArgsPass, OperationPass<ModuleOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

    #include "tsl/lib/core/status_test_util.h"
    #include "tsl/platform/status.h"
    #include "tsl/platform/statusor.h"
    
    namespace mlir {
    namespace mhlo {
    
    using func::FuncOp;
    using mlir::ModuleOp;
    
    static constexpr char kMlirModuleStr[] = R"(
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 1442 : i32}} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top