Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 435 for rewrite (0.14 sec)

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

                              ArrayRef<int64_t> shape, int64_t val) {
      RankedTensorType type =
          tensorflow::GetTypeFromTFTensorShape(shape, rewriter->getIntegerType(64));
      DenseElementsAttr attr =
          DenseElementsAttr::get(type, rewriter->getI64IntegerAttr(val));
      return rewriter->create<arith::ConstantOp>(loc, type, attr);
    }
    
    Value CreateI32SplatTensor(Location loc, PatternRewriter *rewriter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. pilot/pkg/config/kube/gateway/conversion.go

    				Rewrite: *filter.Path.ReplaceFullPath,
    			}
    		}
    	}
    	if filter.Hostname != nil {
    		rewrite.Authority = string(*filter.Hostname)
    	}
    	// Nothing done
    	if rewrite.Uri == "" && rewrite.UriRegexRewrite == nil && rewrite.Authority == "" {
    		return nil
    	}
    	return rewrite
    }
    
    func createRedirectFilter(filter *k8s.HTTPRequestRedirectFilter) *istio.HTTPRedirect {
    	if filter == nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 84.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/InstrumentingClassLoader.java

     * When such a classloader attempts to define a class, the agent calls {@link #instrumentClass(String, ProtectionDomain, byte[])} method
     * giving the classloader a chance to rewrite the bytecode of the class.
     * <p>
     * Methods defined in this interface may be called concurrently in multiple threads.
     */
    public interface InstrumentingClassLoader {
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass.h

    #include "absl/types/optional.h"
    #include "tensorflow/compiler/jit/encapsulate_util.h"
    #include "xla/status_macros.h"
    #include "tensorflow/core/graph/graph.h"
    
    namespace tensorflow {
    
    // Rewrite function for outside compilation subgraphs. It will perform the
    // following steps:
    //
    // 1. Add a XLA computation key placeholder node (it will be used as input for
    //    XlaRecvAtHost and XlaSendFromHost);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

        private final List<ProjectSegment> items;
    
        public ProjectBuildList(List<ProjectSegment> items) {
            this.items = Collections.unmodifiableList(items);
        }
    
        // TODO Optimize; or maybe just rewrite the whole way aggregating mojos are being run.
        /**
         * Returns aProjectBuildList that contains only items for the specified taskSegment
         * @param taskSegment the requested task segment
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/cast_bf16_ops_to_f32.cc

            return success();
          }
        }
        return failure();
      }
    
      void rewrite(Operation* op, PatternRewriter& rewriter) const override {
        // Casts inputs of the operation.
        for (int i = 0; i < op->getNumOperands(); i++) {
          Value input = op->getOperand(i);
          if (getElementTypeOrSelf(input).isBF16()) {
            Value f32_cast = rewriter.create<TF::CastOp>(
                op->getLoc(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Dec 10 05:52:02 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/x86/obj6.go

    					f.FuncFlag |= abi.FuncFlagSPWrite
    					if ctxt.Debugvlog || !ctxt.IsAsm {
    						ctxt.Logf("auto-SPWRITE: %s %v\n", cursym.Name, p)
    						if !ctxt.IsAsm {
    							ctxt.Diag("invalid auto-SPWRITE in non-assembly")
    							ctxt.DiagFlush()
    							log.Fatalf("bad SPWRITE")
    						}
    					}
    				}
    			}
    			continue
    
    		case APUSHL, APUSHFL:
    			deltasp += 4
    			p.Spadj = 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 18:36:45 UTC 2023
    - 40.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

      void createNewDequantizeOp(PatternRewriter& rewriter,
                                 TF::PartitionedCallOp original_dequantize_op,
                                 Operation* user_op, int user_idx,
                                 Type new_user_op_type) const {
        auto op_before_dequantize = original_dequantize_op.getOperand(0);
    
        // Create a new dequantize op that is propagated.
        rewriter.setInsertionPointAfter(user_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

    #include "tensorflow/compiler/mlir/tensorflow/transforms/passes.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.h"
    
    #define DEBUG_TYPE "tf-xla-rewrite"
    
    namespace mlir {
    namespace {
    
    #define GEN_PASS_DEF_XLAREWRITEPASS
    #include "tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

        // Erase unused ops after the transformation.
        rewriter.eraseOp(output_uniform_dequantize_call_pattern->GetCallOp());
        rewriter.eraseOp(output_uniform_quantize_call_pattern->GetCallOp());
        rewriter.eraseOp(multiply_op);
        rewriter.eraseOp(subtract_op);
        rewriter.eraseOp(input_i8_to_f32_convert_op);
        rewriter.eraseOp(input_uniform_quantize_call_pattern->GetCallOp());
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top