Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 257 for Regions (0.39 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

      let summary = [{
        The `region` operation wraps high-precision ops as a logical low-precision
        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

                  ->has_same_scale_requirement &&
              !IsConnectedWithQuantizedCompsiteFunction(candidate_op)) {
            return failure();
          }
    
          // Ops with regions will be quantized in a separate pattern.
          if (isa<mlir::stablehlo::ReduceWindowOp>(candidate_op)) {
            return failure();
          }
    
          const bool weight_only_quantizable =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      }
    
      // Returns if its legal to inline 'src' region into the 'dest' region
      // attached to a TF operation.
      bool isLegalToInline(Region *dest, Region *src, bool wouldBeCloned,
                           IRMapping &valueMapping) const final {
        // Allow inlining in regions attached to region based control flow
        // operations only if the src region is a single block region
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      pm.addPass(mlir::createSymbolDCEPass());
    
      // Sink constants to regions so that ops requiring constant operands can
      // access the constant and there is no indirection through control flow region
      // arguments. Also, note that this pass is in MHLO but it is generic and sinks
      // constants for all ops with regions.
      pm.addNestedPass<mlir::func::FuncOp>(
          mlir::mhlo::createSinkConstantsToControlFlowPass());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      // Ensure that all ops are in the same region, and have the same replication
      // info.
      // TODO(bfontain): Allow for multiple regions/loops in one module.
      // TODO(patn): move this pass after cluster formation to remove the complexity
      // with replication info and metadata, cluster checking and generalizing to
      // multiple TPU clusters.
      Region* region = (*forward_pass_ops.begin())->getParentRegion();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

      let summary = [{
        The `region` operation wraps high-precision ops as a logical low-precision
        quantized kernel.
      }];
    
      let arguments = (ins Variadic<AnyType>:$inputs,
                        TypeArrayAttr:$input_specs,
                        TypeArrayAttr:$output_specs,
                        StrAttr:$logical_kernel);
      let results = (outs Variadic<AnyType>:$outputs);
      let regions = (region SizedRegion<1>:$body);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc

      SymbolUserMap symbol_map(table, module);
    
      // Regions that contains ops requiring token input attributes.
      absl::flat_hash_set<Region*> regions_with_token;
      while (!worklist.empty()) {
        Operation* op = worklist.back();
        worklist.pop_back();
    
        Region* region = op->getParentRegion();
        regions_with_token.insert(region);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

      static LogicalResult inferReturnTypeComponentsFromOperands(
          MLIRContext*, std::optional<Location> location, ValueShapeRange operands,
          DictionaryAttr attributes, OpaqueProperties properties,
          RegionRange regions,
          SmallVectorImpl<ShapedTypeComponents>& inferredReturnShapes) {
        if (operands.empty())
          return emitOptionalError(
              location,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Sinks `tf.Const` operations in the ClusterOp region using them. This is
    // performed in order to limit the number of values implicitly captured in this
    // region before outlining.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateClusterConstantSinkingPass(
        llvm::function_ref<bool(tf_device::ClusterOp, ElementsAttr)> filter = {});
    
    // Creates a pass that outlines regions of tf_device.cluster operations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_device_passes.td

               "reserved for the legacy graph export pipeline to maintain expected "
               "invariants. In the case of this pass, that means manually propagating "
               "controls to lifted parallel execute regions to the graph fetch to "
               "ensure the ops execute, as well as determining whether or not the "
               "islands created by this pass should be split after the replicated "
               "ops have been lifted.">
      ];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 12.5K bytes
    - Viewed (0)
Back to top