Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 226 for StringRef (0.23 sec)

  1. tensorflow/compiler/mlir/tfr/passes/rewrite_quantized_io.cc

    namespace mlir {
    namespace TFR {
    
    class RewriteQuantizedIOPass
        : public PassWrapper<RewriteQuantizedIOPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "tfr-rewrite-quantized-io"; }
    
      StringRef getDescription() const final {
        return "Replaces operands and results that has quantized type with their "
               "storage types.";
      }
      void runOnOperation() override;
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 01:19:25 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/utils/utils.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tfr/utils/utils.h"
    
    #include <string>
    
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/StringRef.h"
    #include "llvm/ADT/StringSet.h"
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h"
    
    namespace mlir {
    namespace TFR {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tf2xla/internal/logging_hooks.h"
    
    #include <memory>
    #include <string>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Pass/PassManager.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/utils/data_dumper_logger_config.h"
    #include "tensorflow/core/util/debug_data_dumper.h"
    
    namespace tensorflow {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 05 14:26:22 UTC 2023
    - 2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/drop_savedmodel_semantics.cc

    }  // namespace
    
    class DropSavedModelSemanticsPass
        : public PassWrapper<DropSavedModelSemanticsPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "drop-savedmodel-semantics"; }
      StringRef getDescription() const final {
        return "Drops all tf_saved_model attributes";
      }
    
      // NOTE: The implementation is mostly copypasted from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 13 23:39:10 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_EXPORT_TF_DIALECT_OP_H_
    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSLATE_EXPORT_TF_DIALECT_OP_H_
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/Operation.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/utils/export_utils.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc

    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/DenseMap.h"
    #include "llvm/ADT/STLExtras.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/IR/Attributes.h"  // from @llvm-project
    #include "mlir/IR/Builders.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

    namespace mlir {
    namespace quant {
    namespace {
    
    using ::mlir::tf_saved_model::GetInitializerFunction;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    
    constexpr StringRef kTfQuantSaveV2OpName = "tf_quant__save_save_v2";
    constexpr StringRef kTfQuantSaveReturnOpName = "tf_quant__save_return";
    
    // A pass that creates a new function that wraps the newly created SaveV2 op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/export_utils.h

    // dialect back into a TensorFlow valid op name.
    absl::StatusOr<llvm::StringRef> GetTensorFlowOpName(llvm::StringRef);
    
    // Converts an MLIR operation to TensorFlow NodeDef with given node name. This
    // name should be unique to the graph it is being inserted into.
    absl::StatusOr<std::unique_ptr<NodeDef>> GetOperationNodeDef(
        mlir::Operation* inst, llvm::StringRef name);
    
    // Converts MLIR attributes with values to their tensorflow equivalent.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.h

    ABSL_DEPRECATED(
        "Use v2/tf_dialect_to_executor.h::ExportFromTensorflowDialectToExecutor "
        "instead.")
    tensorflow::Status ExportFromTensorflowDialectToExecutor(
        mlir::ModuleOp module, llvm::StringRef module_name = llvm::StringRef());
    
    }  // namespace v1
    }  // namespace tf2xla
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 11 18:45:46 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/rename_entrypoint_to_main.cc

    namespace mlir {
    namespace odml {
    
    class RenameEntrypointToMainPass
        : public PassWrapper<RenameEntrypointToMainPass, OperationPass<ModuleOp>> {
     public:
      StringRef getArgument() const final { return "rename-entrypoint-to-main"; }
      StringRef getDescription() const final {
        return "Renames the entrypoint in SavedModel to `main`";
      }
    
      void runOnOperation() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top