- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for legalize (0.15 sec)
-
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// RUN: tf-opt %s -tfl-legalize-tf --cse -split-input-file| FileCheck %s --dump-input=fail func.func @add(%arg0: tensor<1xf32>, %arg1: tensor<1xf32>) -> tensor<1xf32> { %0 = "tf.Add"(%arg0, %arg1) : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32> func.return %0: tensor<1xf32> // CHECK-LABEL: add // CHECK: tfl.add %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<1xf32> // CHECK: return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
let summary = "Transform Einsum to other TF Ops for the supported variants"; let constructor = "TF::CreateTransformEinsumPass()"; } def LegalizeTFGToTFPass : Pass<"tfe-legalize-tfg", "ModuleOp"> { let summary = "Legalize from TFG to the TFE dialect"; let constructor = "TF::CreateLegalizeTFGToTFEPass()"; } def ReplicateToIslandPass : Pass<"tf-replicate-to-island", "mlir::func::FuncOp"> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
#include "tensorflow/core/lib/math/math_util.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/util/padding.h" namespace mlir { namespace odml { namespace { #define DEBUG_TYPE "tf-legalize-hlo" #define GEN_PASS_DEF_LEGALIZEHLOTOTFPASS #include "tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h.inc" class LegalizeHloToTf : public impl::LegalizeHloToTfPassBase<LegalizeHloToTf> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
: OpBuilder::atBlockEnd(body, listener); } }]; // Canonicalizer wasn't defined for this one. In practise, we legalize the // tf.IfOp to scf.If op first and then legalize it to tfl.if to reduce // code redundancy. } def TFL_WhileOp : Op<TFL_Dialect, "while", [ DeclareOpInterfaceMethods<LoopLikeOpInterface, ["isDefinedOutsideOfLoop"]>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
Value value, const std::string& name, unsigned buffer_idx, const std::optional<BufferOffset<tflite::QuantizationParameters>>& quant_parameters); // TODO(b/137395003): Legalize tf.IfOp to TFLite dialect, and change the // following method to handle TFL::IfOp. BufferOffset<tflite::Operator> BuildIfOperator( mlir::TF::IfOp op, const std::vector<int32_t>& operands,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// ----- // ============================================================================ // The following functions tests example quantization patterns outputted from // StableHLO Quantizer. These patterns should be legalized early directly // to fused tflite ops. // ============================================================================ // Tests that a simple per-channel quantized `stablehlo.dot_general` is properly
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
src/net/http/server.go
// Write writes the headers described in h to w. // // This method has a value receiver, despite the somewhat large size // of h, because it prevents an allocation. The escape analysis isn't // smart enough to realize this function doesn't mutate h. func (h extraHeader) Write(w *bufio.Writer) { if h.date != nil { w.Write(headerDate) w.Write(h.date) w.Write(crlf) } if h.contentLength != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 123.4K bytes - Viewed (0)