Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for TensorFlowLiteDialect (0.36 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

        context_->loadDialect<arith::ArithDialect, mlir::func::FuncDialect,
                              tensor::TensorDialect, mlir::TF::TensorFlowDialect,
                              TensorFlowLiteDialect>();
        builder_ = std::make_unique<mlir::Builder>(context_.get());
        fused_lstm_func_ = createLstmCompositeFunc(builder_.get(), false, false);
        fused_lstm_func_cifg_ =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/debug/debug_test.cc

              registry.insert<mlir::BuiltinDialect>();
              registry.insert<mlir::arith::ArithDialect>();
              registry.insert<mlir::func::FuncDialect>();
              registry.insert<mlir::TFL::TensorFlowLiteDialect>();
              return registry;
            }()) {
        context_.loadAllAvailableDialects();
    
        mlir::OpBuilder builder(&context_);
        module_ = builder.create<mlir::ModuleOp>(builder.getUnknownLoc());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 11:15:16 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(ReduceWhileOperandsPass)
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect, TF::TensorFlowDialect>();
      }
      void runOnOperation() override;
    };
    
    LogicalResult FindImplicityProducers(
        const std::vector<uint64_t> &explicitly_consumed_ids,
        std::vector<bool> &is_consumed_id,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc

        return "Fallback TF-Quantization-unsupported ops to TFLite Flex ops.";
      }
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     private:
      // The mode of TF Quantization, might indicate different users/devices.
      Option<std::string> mode_{*this, "mode",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_composite_functions_tf.cc

        : public impl::PrepareCompositeFunctionsPassBase<
              PrepareCompositeFunctionsPass> {
      void getDependentDialects(DialectRegistry& registry) const override {
        registry.insert<TFL::TensorFlowLiteDialect>();
      }
    
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(PrepareCompositeFunctionsPass)
    
      explicit PrepareCompositeFunctionsPass() {}
    
     private:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        target.addDynamicallyLegalDialect<TensorFlowLiteDialect>([](Operation* op) {
          auto tfl_op = dyn_cast_or_null<TflRuntimeVerifyOpInterface>(op);
          if (!tfl_op) return false;
          return succeeded(tfl_op.VerifyTflRuntimeConstraints(
              op, /*emit_error_on_verify_fail=*/false));
        });
      } else {
        target.addLegalDialect<TensorFlowLiteDialect>();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      registry.insert<mlir::arith::ArithDialect, mlir::func::FuncDialect,
                      mlir::quant::QuantizationDialect,
                      mlir::quantfork::QuantizationForkDialect,
                      mlir::TFL::TensorFlowLiteDialect, mlir::TF::TensorFlowDialect,
                      mlir::stablehlo::StablehloDialect, mlir::vhlo::VhloDialect>();
      mlir::func::registerAllExtensions(registry);
      context->appendDialectRegistry(registry);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        }
        tf_dialect_ =
            module.getContext()->getOrLoadDialect<mlir::TF::TensorFlowDialect>();
        tfl_dialect_ = module.getContext()
                           ->getOrLoadDialect<mlir::TFL::TensorFlowLiteDialect>();
        vhlo_dialect_ =
            module.getContext()->getOrLoadDialect<mlir::vhlo::VhloDialect>();
        // Right now the TF executor dialect is still needed to build NodeDef.
        module.getContext()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

            /*max_bcast_rank=*/6);
      }
      return false;
    }
    
    //===----------------------------------------------------------------------===//
    // TensorFlowLiteDialect
    //===----------------------------------------------------------------------===//
    
    struct TensorFlowLiteInlinerInterface : public DialectInlinerInterface {
      using DialectInlinerInterface::DialectInlinerInterface;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top