Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 226 for StringRef (0.14 sec)

  1. tensorflow/compiler/mlir/python/mlir_wrapper/filecheck_wrapper.cc

                              llvm::SMLoc());
        SM.AddNewSourceBuffer(llvm::MemoryBuffer::getMemBuffer(check),
                              llvm::SMLoc());
        fc.readCheckFile(SM, llvm::StringRef(check));
        return fc.checkInput(SM, llvm::StringRef(input));
      });
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 16 08:13:22 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import_test_pass.cc

        : public impl::InitTextFileToImportTestPassBase<
              InitTextFileToImportTestPass> {
     public:
      explicit InitTextFileToImportTestPass() {}
    
      StringRef getArgument() const final {
        return "tf-init-text-file-to-import-test";
      }
    
      StringRef getDescription() const final {
        return "generate a temporary file and invoke InitTextFileToImportPass";
      }
    
     private:
      void runOnOperation() override;
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 09:19:38 UTC 2022
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

      }];
    
      let methods = [
        InterfaceMethod<
          [{Returns current operation data format (data layout).}],
          "StringRef", "getDataFormat", (ins)
        >,
        InterfaceMethod<
          [{Deprecated method that returns current operation data format (data layout).}],
          "StringRef", "data_format", (ins),
          /*methodBody=*/[{
            return $_op.getDataFormat();
        }]>,
        InterfaceMethod<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/init_text_file_to_import.cc

        return success();
      }
    
     private:
      StringRef saved_model_dir_;
    };
    
    void InitTextFileToImportPass::runOnOperation() {
      RewritePatternSet patterns(&getContext());
      MLIRContext* context = &getContext();
      func::FuncOp func = getOperation();
    
      patterns.add<ConvertInitializeTableFromTextFileV2>(
          context, StringRef(saved_model_dir_));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 6.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/device_target.h

      LogicalResult RegisterKernel(llvm::StringRef kernel,
                                   const KernelSpecs::Signature& signature,
                                   const ScaleFn& fn, const ScaleDecomposeFn& dfn);
    
      // Adds the kernel spec with the scale constraint type for the kernel.
      LogicalResult RegisterKernel(llvm::StringRef kernel,
                                   const KernelSpecs::Signature& signature,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/passes.h

    #ifndef TENSORFLOW_COMPILER_MLIR_TF2XLA_TRANSFORMS_PASSES_H_
    #define TENSORFLOW_COMPILER_MLIR_TF2XLA_TRANSFORMS_PASSES_H_
    
    #include <memory>
    #include <optional>
    
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/MLIRContext.h"  // from @llvm-project
    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/init_mlir.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/init_mlir.h"
    
    #include "llvm/ADT/StringRef.h"
    #include "llvm/Support/CommandLine.h"
    #include "llvm/Support/PrettyStackTrace.h"
    #include "tensorflow/core/platform/init_main.h"
    
    static llvm::cl::extrahelp FlagSplittingHelp(R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 10:03:56 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/smuggle_disallowed_ops.cc

      }
    };
    
    class SmuggleDisallowedOpsPass
        : public PassWrapper<SmuggleDisallowedOpsPass,
                             OperationPass<func::FuncOp>> {
     public:
      StringRef getArgument() const final { return "smuggle-disallowed-ops-pass"; }
      StringRef getDescription() const final {
        return "Smuggle disallowed ops via stablehlo.custom_calls";
      }
      void getDependentDialects(DialectRegistry& registry) const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 19 01:14:04 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/analysis/test_cost_analysis_pass.cc

    namespace tfrt_compiler {
    
    class TestCostAnalysis
        : public mlir::PassWrapper<TestCostAnalysis,
                                   mlir::OperationPass<mlir::func::FuncOp>> {
      llvm::StringRef getArgument() const final {
        return "tfrt-test-cost-analysis";
      }
      llvm::StringRef getDescription() const final {
        return "Add remarks based on cost analysis for testing purpose.";
      }
      void runOnOperation() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 23:46:29 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.h

    #define TENSORFLOW_COMPILER_MLIR_TENSORFLOW_TRANSFORMS_TF_SAVED_MODEL_ASSET_SINKING_PASS_H_
    
    #include <memory>
    
    #include "absl/status/status.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/StringRef.h"
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/Pass/Pass.h"  // from @llvm-project
    
    namespace mlir {
    namespace tf_saved_model {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top