Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 123 for lowering (0.5 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    // This file implements logic for lowering TensorFlow dialect's collective
    // ops (TF/XLA) to the HLO dialect.
    
    #include <numeric>
    #include <string>
    #include <utility>
    
    #include "llvm/ADT/StringRef.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.td

      let summary = "Replaces a splat constant tensor with a BroadcastInDim op.";
      let constructor = "mlir::odml::CreateUnfoldSplatConstantPass()";
    }
    
    def CompositeLoweringPass : Pass<"composite-lowering", "ModuleOp"> {
      let summary = "Lowers mhlo composites directly to tflite ops (when possible).";
      let dependentDialects = ["mlir::mhlo::MhloDialect", "TFL::TensorFlowLiteDialect"];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    //===----------------------------------------------------------------------===//
    // Relu op patterns.
    //===----------------------------------------------------------------------===//
    
    // TODO(hinsu): Make these patterns to TF to TF lowering. Relu6 lowering will
    // require HLO canonicalization of min and max on a tensor to ClampOp.
    
    // TODO(hinsu): Lower quantized types after supporting them in GetScalarOfType.
    def : Pat<(TF_ReluOp AnyTensor:$input),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(LegalizeTFToQuant)
    
      explicit LegalizeTFToQuant() = default;
      LegalizeTFToQuant(const LegalizeTFToQuant &) {}
    
      /// Performs the lowering to Quant ops dialect.
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry &registry) const override {
        registry.insert<quant::QuantizationDialect,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.h

    constexpr absl::string_view kExportStepSuffix = "_export";
    
    // Options when running passes for exporting an MLIR ModuleOp.
    struct ExportOptions {
      // If set to `true`, it runs `DuplicateShapeDeterminingConstantsPass` before
      // lowering to tf_executor dialect.
      bool duplicate_shape_determining_constants = true;
    
      // If set to `true`, unfreezes constants into variables and saves them to a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:11:25 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CompilerFacility.kt

                        // generated, which requires a container source to be provided. Without a facade class, function IR symbols will have
                        // an `IrExternalPackageFragment` parent, which trips up code generation during IR lowering.
                        val psiSourceFile =
                            descriptor.toSourceElement.containingFile as? PsiSourceFile ?: return super.getContainerSource(descriptor)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssagen/nowb.go

    	}
    	*fn.NWBRCalls = append(*fn.NWBRCalls, ir.SymAndPos{Sym: to, Pos: pos})
    }
    
    func (c *nowritebarrierrecChecker) check() {
    	// We walk the call graph as late as possible so we can
    	// capture all calls created by lowering, but this means we
    	// only get to see the obj.LSyms of calls. symToFunc lets us
    	// get back to the ODCLFUNCs.
    	symToFunc := make(map[*obj.LSym]*ir.Func)
    	// funcs records the back-edges of the BFS call graph walk. It
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 17:29:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

        // operations from static to dynamic shapes. This could be generated if the
        // shape inference was originally missing in a TF op but the corresponding
        // HLO op had static shape after lowering. This has to run after
        // canonicalization.
        pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      }
    }
    
    }  //  namespace
    
    // Creates the MLIR Pipeline.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

    def TF_IfrtCallOp : TF_Op<"IfrtCall", []> {
      let summary = "Invokes a program via IFRT on a device";
    
      let description = [{
        This op calls an IFRT program uniquely identified by the given program id.
    
        During lowering from a `tf_device.cluster_func` op to a `tf.IfrtCall` op,
        the region owned by the former will be outlined to a function with a
        `tfrt_ifrt_serving.program_id` attribute. After that, the runtime ensures
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (Neg(64|32|16|8) ...) => (NEG ...)
    (Neg(64|32)F ...) => (FNEG ...)
    
    (Com(64|32|16|8) x) => (NOR x x)
    
    // Lowering boolean ops
    (AndB ...) => (AND ...)
    (OrB ...) => (OR ...)
    (Not x) => (XORconst [1] x)
    
    // Merge logical operations
    (AND x (NOR y y)) => (ANDN x y)
    (OR x (NOR y y)) => (ORN x y)
    
    // Lowering comparisons
    (EqB x y)  => (ANDconst [1] (EQV x y))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top