Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 65 for Dadd (0.06 sec)

  1. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      // CHECK: %0 = tfl.add %[[CST]], %[[CST_0]] {fused_activation_function = "SIGN_BIT"} : tensor<4xf32>
    
      %5 = "tfl.add"(%0, %1) {fused_activation_function = "NONE"} : (tensor<  f32>, tensor<  f32>) -> tensor<  f32>
      %6 = "tfl.add"(%0, %3) {fused_activation_function = "NONE"} : (tensor<  f32>, tensor<4xf32>) -> tensor<4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/update_control_dependencies.mlir

      %graph:2 = tf_executor.graph {
        %add1, %add1_control = tf_executor.island wraps "tf.Add"(%arg0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
        %add2, %add2_control = tf_executor.island wraps "tf.Add"(%add1, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
        tf_executor.fetch %add1, %add2 : tensor<*xi32>, tensor<*xi32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 03 18:12:49 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

        pass_manager.addNestedPass<mlir::func::FuncOp>(
            mlir::TFL::CreatePostQuantizePass(emit_quant_adaptor_ops));
      }
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreateOptimizeOpOrderPass());
      // Add optimization pass after quantization for additional fusing
      // opportunities.
    
      if (!pass_config.unfold_batch_matmul) {
        // Enable an optimization pass that transforms FC to BatchMatmul only when
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

      if (quant_specs_.post_training_quantization) {
        patterns_1.add<PrepareLstmOutputScale<LSTMOp>>(ctx);
        patterns_1.add<PrepareLstmOutputScale<UnidirectionalSequenceLSTMOp>>(ctx);
      }
      if (is_qdq_conversion_ ||
          quant_specs_.qdq_conversion_mode != quant::QDQConversionMode::kQDQNone) {
        patterns_1.add<PropagateTransposedPerAxisQuantDim>(ctx);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

            // An unknown side effect dominates other side effects so we don't have
            // to add them and can return here.
            return;
          }
          // Add op-based side effects from regions (if any).
          for (Region& region : op->getRegions()) {
            AddRegionSideEffectsForOp(region, op);
          }
          // Add op-based side effects for the op itself.
          for (const auto& effect : effects) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

        const bool enable_per_channel_quantized_weight) {
      patterns.add<XlaCallModuleOpToCallOp<QuantizeConvolutionOpPattern>>(
          ctx, enable_per_channel_quantized_weight);
      patterns.add<XlaCallModuleOpToCallOp<QuantizeDotGeneralOpPattern>>(
          ctx, enable_per_channel_quantized_weight);
      patterns
          .add<XlaCallModuleOpToCallOp<QuantizeWeightOnlyOpPattern<ConvolutionOp>>>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

    }
    
    void BuildListOp::getCanonicalizationPatterns(RewritePatternSet &results,
                                                  MLIRContext *context) {
      results.add<BuildConstantListAsAttr>(context);
    }
    
    void TFRQuantRawDataOp::getCanonicalizationPatterns(RewritePatternSet &results,
                                                        MLIRContext *context) {
      results.add<RemoveRawDataOp>(context);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

               << replicate.getN() << ")";
      }
    
      // add block arg to region. This is in $body.
      unsigned block_arg_idx = replicate.GetNumReplicatedBlockArguments();
      Block& block = replicate.GetBody();
      block_arg = block.insertArgument(block_arg_idx, type, replicate.getLoc());
    
      // add to $replicated_inputs. This also updates OperandSegmentSizeAttr.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      // Build the graph:
      // "add" = "arg0" + "arg1"
      // "ret0" = "add"
      // "ret1" = "arg1"
      tensorflow::Scope s = tensorflow::Scope::NewRootScope();
      Output arg0 = ops::_Arg(s.WithOpName("arg0"), DT_INT32, 0);
      Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_FLOAT, 1);
      Output arg2 = ops::_Arg(s.WithOpName("arg2"), DT_INT32, 2);
      Output add = ops::Add(s.WithOpName("add"), arg0, arg0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

      }
      void getDependentDialects(::mlir::DialectRegistry &registry) const override {}
    
      void runOnOperation() override {
        RewritePatternSet patterns(&getContext());
        patterns.add<FoldBroadcastInDimBeforeMulOp>(&getContext());
        patterns.add(ConstantFoldMul);
        if (failed(applyPatternsAndFoldGreedily(getOperation(),
                                                std::move(patterns)))) {
          return signalPassFailure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top