Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for Infoln (0.15 sec)

  1. tensorflow/compiler/mlir/lite/tf_tfl_translate_cl.cc

    opt<bool> unfold_batchmatmul(
        "unfold_batchmatmul",
        llvm::cl::desc(
            "Whether to unfold TF BatchMatMul to a set of TFL FullyConnected ops."),
        llvm::cl::init(false));
    
    // NOLINTNEXTLINE
    opt<bool> unfold_large_splat_constant(
        "unfold-large-splat-constant",
        llvm::cl::desc("Whether to unfold large splat constant tensors to reduce "
                       "the generated model size."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/unfold_splat_constant_pass.mlir

    // RUN: odml-to-stablehlo-opt %s -unfold-splat-constant-pass -cse -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: @unfold_splat_constant_float
    func.func @unfold_splat_constant_float() -> tensor<1x750xf32> {
      %cst = mhlo.constant dense<7.680000e+02> : tensor<1x750xf32>
      func.return %cst : tensor<1x750xf32>
    
      // CHECK-DAG: %0 = mhlo.constant dense<7.680000e+02> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfold_splat_constant_pass.cc

    #include "mlir/Pass/PassRegistry.h"  // from @llvm-project
    #include "mlir/Support/LLVM.h"  // from @llvm-project
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    
    namespace mlir {
    namespace odml {
    namespace {
    
    #define DEBUG_TYPE "unfold-splat-constant-pass"
    
    #define GEN_PASS_DEF_UNFOLDSPLATCONSTANTPASS
    #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc"
    
    // Undo the MHLO::BroadcastInDimOp folding pattern on splat tensor.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let summary = "Legalize StableHLO custom call ops where the call target is 'stablehlo.composite' to composite ops.";
      let dependentDialects = ["mlir::stablehlo::StablehloDialect"];
    }
    
    def UnfoldSplatConstantPass : Pass<"unfold-splat-constant-pass", "ModuleOp"> {
      let summary = "Replaces a splat constant tensor with a BroadcastInDim op.";
      let constructor = "mlir::odml::CreateUnfoldSplatConstantPass()";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/common/tfl_pass_config.h

      // By default we freeze all variables and disallow mutable variables. When
      // 'enable_tflite_variables' is true then we allow mutable variable only.
      bool disable_variable_freezing = false;
      // Whether to unfold large splat constant tensors and replace them with
      // fill operation.
      bool unfold_large_splat_constant = false;
      // Whether to run the `GuaranteeAllFuncsOneUsePass` to ensure each function
      // has a single use.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top