Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 217 for cc_ops (0.27 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "tensorflow/compiler/mlir/lite/ir/tfl_ops.td"
    include "tensorflow/compiler/mlir/lite/utils/utils.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    def NotFromDequant : Constraint<CPred<"NotFromDequant($0)">>;
    
    // Fuses TFL_FullyConnectedOp and TFL_TransposeOp Rhs to TFL_BatchMatMulOp when
    // it's used by TFL_BatchMatMulOp and "transpose_lhs" is true.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 09 23:44:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/remove_identity_op_pattern.cc

    #include "mlir/IR/PatternMatch.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Transforms/GreedyPatternRewriteDriver.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    
    LogicalResult RemoveIdentity::matchAndRewrite(TF::IdentityOp identity,
                                                  PatternRewriter &rewriter) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 15 06:13:49 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.td

    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Remove redundant `CastOp` to int8 if the input is properly clipped.
    def RemoveRedundantCastOps : Pat<
      (TF_CastOp:$root_cast
        (TF_CastOp:$i8_cast
          (TF_ClipByValueOp:$clip $input, $min_value, $max_value),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/python/mlir_wrapper/mlir_wrapper.cc

    #include "pybind11/stl.h"  // from @pybind11
    #include "tensorflow/compiler/mlir/tensorflow/dialect_registration.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "tensorflow/python/lib/core/pybind11_lib.h"
    #include "tensorflow/python/lib/core/pybind11_status.h"
    
    PYBIND11_MODULE(mlir_wrapper, m) {
      m.def("preloadTensorFlowDialects", [](mlir::MLIRContext &context) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 08:41:42 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_targets.cc

    #include "stablehlo/dialect/ChloOps.h"  // from @stablehlo
    #include "stablehlo/dialect/StablehloOps.h"  // from @stablehlo
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace mhlo {
    
    ConversionTarget GetDefaultLegalConversionTargets(MLIRContext& mlir_context,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 17:44:14 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/aot/tests/make_test_graphs.py

    from tensorflow.python.ops import control_flow_assert
    from tensorflow.python.ops import control_flow_ops
    from tensorflow.python.ops import control_flow_util
    from tensorflow.python.ops import math_ops
    from tensorflow.python.ops import nn_ops
    from tensorflow.python.ops import variable_v1
    from tensorflow.python.ops import variables
    from tensorflow.python.training import saver as saver_lib
    
    FLAGS = None
    
    
    def tfadd(_):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 15 15:25:23 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td

    include "mlir/IR/OpBase.td"
    include "mlir/IR/PatternBase.td"
    include "mlir/Dialect/Func/IR/FuncOps.td"
    include "mlir/Dialect/Arith/IR/ArithOps.td"
    include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td"
    
    // Marks the op as no fallback.
    def MarkNoFallback : NativeCodeCall<"SetNoFallbackAttr($_builder, $0)">;
    
    def NoFallbackAttrNotSet : Constraint<CPred<
      "!$0.getDefiningOp()->hasAttr(kNoFallbackAttr)">>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.h

    #include "mlir/IR/Value.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "mlir/Support/LogicalResult.h"  // from @llvm-project
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TF {
    
    class ResourceAnalyzer {
     public:
      explicit ResourceAnalyzer(ModuleOp module, bool skip_session_init = false);
    
      bool IsPotentiallyWritten(Value resource) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/optimize.cc

    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir::quant {
    namespace {
    
    // Applies optimization after quantization.
    class OptimizePass
        : public PassWrapper<OptimizePass, OperationPass<func::FuncOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_nnapi.cc

    #include "tensorflow/compiler/mlir/lite/experimental/tac/hardwares/nnapi_hardware.h"
    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace TFL {
    namespace tac {
    namespace {
    
    struct DeviceTransformNNAPIPass
        : public mlir::PassWrapper<DeviceTransformNNAPIPass,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 18:43:51 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top