Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 150 for rewrites (2.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

            for (Value operand : op_to_inline.getOperands())
              updated_results.push_back(mapper.lookup(operand));
            break;
          }
    
          // Otherwise, clone the op here.
          rewriter.clone(op_to_inline, mapper);
        }
        rewriter.replaceOp(op, updated_results);
    
        // Here, shapes of the updated_results may not match the original values. If
        // any of the values are operands of the terminator op, then the function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

    import java.util.Arrays;
    
    import org.apache.logging.log4j.Level;
    import org.apache.logging.log4j.core.Core;
    import org.apache.logging.log4j.core.LogEvent;
    import org.apache.logging.log4j.core.appender.rewrite.RewritePolicy;
    import org.apache.logging.log4j.core.config.plugins.Plugin;
    import org.apache.logging.log4j.core.config.plugins.PluginAttribute;
    import org.apache.logging.log4j.core.config.plugins.PluginFactory;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/xla_call_module_to_call.cc

                                    PatternRewriter& rewriter) const override {
        auto module_op = op->getParentOfType<ModuleOp>();
        SymbolTable symbol_table(module_op);
    
        auto entry_func_op = dyn_cast_or_null<func::FuncOp>(
            symbol_table.lookup(GetEntryFunctionName(op)));
        if (!entry_func_op) return failure();
    
        // Replace the XlaCallModuleOp with a new CallOp.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 20:02:00 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc

      LogicalResult matchAndRewrite(TF::HashTableV2Op hashtable_op,
                                    PatternRewriter& rewriter) const override {
        auto output_type = RankedTensorType::get(
            {1}, TF::ResourceType::get(rewriter.getContext()));
    
        // Hash the shared name to generate integer hash table id. The TFLite
        // native resource design is based on integer keys to identify the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. tests/integration/pilot/tcp_probe_test.go

    				name     string
    				rewrite  bool
    				success  bool
    				openPort bool
    			}{
    				{name: "norewrite-success", rewrite: false, success: true, openPort: false},
    				{name: "rewrite-success", rewrite: true, success: true, openPort: true},
    			} {
    				t.NewSubTest(testCase.name).Run(func(t framework.TestContext) {
    					runTCPProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.success, testCase.openPort)
    				})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/set_tpu_infeed_layout.cc

                                            OpBuilder &rewriter) {
      auto i64_type = rewriter.getIntegerType(64);
      if (types.size() > 1) {
        llvm::SmallVector<mlir::Attribute> v;
        v.reserve(types.size());
        for (const mlir::Type &t : types) {
          if (mlir::isa<mhlo::TokenType>(t)) continue;
          auto layout = GetTPUInfeedLayout({t}, rewriter);
          if (failed(layout)) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. tests/integration/pilot/grpc_probe_test.go

    			for _, testCase := range []struct {
    				name     string
    				rewrite  bool
    				ready    bool
    				openPort bool
    			}{
    				{name: "rewrite-ready", rewrite: true, ready: true, openPort: true},
    			} {
    				t.NewSubTest(testCase.name).Run(func(t framework.TestContext) {
    					runGRPCProbeDeployment(t, ns, testCase.name, testCase.rewrite, testCase.ready, testCase.openPort)
    				})
    			}
    		})
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 02 21:29:40 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

        rewriter.setInsertionPointAfter(tf_op.getOperation());
        IntegerAttr num_bits = rewriter.getI64IntegerAttr(tf_op.getNumBits());
        BoolAttr narrow_range = rewriter.getBoolAttr(tf_op.getNarrowRange());
        Type res_type = tf_op.getType();
        TypeAttr qtype = quant::GetQuantizedTypeAttr(
            rewriter, res_type, min_value, max_value, quant_dim, num_bits,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/route/retry/retry_test.go

    			},
    		},
    		{
    			name: "TestZeroAttemptsShouldReturnNilPolicy",
    			// Create a route with a retry policy with zero attempts configured.
    			route: &networking.HTTPRoute{
    				Retries: &networking.HTTPRetry{
    					// Explicitly not retrying.
    					Attempts: 0,
    				},
    			},
    			assertFunc: func(g *WithT, policy *envoyroute.RetryPolicy) {
    				g.Expect(policy).To(BeNil())
    			},
    		},
    		{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/passes.h

    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass();
    
    // Adds the HLO to TF rewrite patterns to the specified pattern list.
    void PopulateLegalizeHloToTfPatterns(RewritePatternSet* patterns,
                                         MLIRContext* context);
    
    // Adds the HLO to TFLite rewrite patterns to the specified pattern list.
    void PopulateLegalizeHloToTFLitePatterns(RewritePatternSet* patterns,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top