Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 161 for setLoc (0.22 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/convert_tf_control_flow_to_scf.cc

            scf_yield_input.push_back(rewriter.create<CastOp>(
                current_terminator->getLoc(), std::get<0>(it), std::get<1>(it)));
          }
    
          rewriter.replaceOpWithNewOp<scf::YieldOp>(current_terminator,
                                                    scf_yield_input);
        };
    
        Location loc = op.getLoc();
    
        // The condition of an `scf.if` op is a 1-bit signless integer. Whereas, the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 9.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/nchw_convolution_to_nhwc.cc

            mlir::cast<TensorType>(input.getType()), kNchwToNhwcPermutation);
    
        auto input_transpose_op = rewriter.create<mlir::stablehlo::TransposeOp>(
            op.getLoc(), /*resultType0=*/new_input_tensor_type, /*operand=*/input,
            rewriter.getDenseI64ArrayAttr(kNchwToNhwcPermutation));
    
        // Transpose the filter tensor: [o, i, 0, 1] => [0, 1, i, o]
        Value filter = op->getOperand(1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/canonicalize.cc

          return InlineRegion(if_op.getLoc(), rewriter, if_op,
                              &if_op.getThenRegion());
        }
    
        // Else branch
        if (matchPattern(if_op.getCondition(), m_Zero())) {
          if (if_op.getElseRegion().empty()) {
            // Remove the op
            rewriter.eraseOp(if_op);
            return success();
          } else {
            return InlineRegion(if_op.getLoc(), rewriter, if_op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 14 22:15:06 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  4. maven-plugin-api/src/main/java/org/apache/maven/plugin/Mojo.java

     * It features an <code>execute()</code> method, which triggers the Mojo's build-process behavior, and can throw
     * a MojoExecutionException or MojoFailureException if error conditions occur.<br>
     * Also included is the <code>setLog(...)</code> method, which simply allows Maven to inject a logging mechanism which
     * will allow the Mojo to communicate to the outside world through standard Maven channels.
     *
     */
    public interface Mojo {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        }
        Value broadcast_multiplier = rewriter.create<mhlo::BroadcastInDimOp>(
            mul_op.getLoc(), filter.getType(), multiplier, broadcast_dims);
        Value new_filter = rewriter.create<mhlo::MulOp>(
            mul_op.getLoc(), filter.getType(), filter, broadcast_multiplier);
        Value new_conv = rewriter.create<mhlo::ConvolutionOp>(
            mul_op.getLoc(), conv_op.getType(), conv_op.getLhs(), new_filter,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

      OpBuilder builder(func_.getBody());
      auto op = builder.create<mlir::TFL::NonMaxSuppressionV4Op>(
          func_.getLoc(), output_type0, output_type1, boxes, scores,
          max_output_size, iou_threshold, score_threshold);
    
      builder.create<mlir::func::ReturnOp>(func_.getLoc(), op.getResults());
    }
    
    LogicalResult ConvertNMSPaddedFunc::VerifySignature() {
      // Verify high-level function signature.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/parallel_execute_util.cc

          cluster_func.getLoc(), 1, output_types);
      cluster_func->remove();
      auto& block = parallel_execute.GetRegionBlockWithIndex(0);
      builder->setInsertionPointToEnd(&block);
      builder->insert(cluster_func);
      cluster_func.replaceAllUsesWith(parallel_execute);
      builder->create<tf_device::ReturnOp>(block.getParent()->getLoc(),
                                           cluster_func.getResults());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 13 03:57:18 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/unfold_large_splat_constant.cc

                const_op->getLoc(),
                DenseElementsAttr::get(
                    tensorflow::GetTypeFromTFTensorShape(
                        {}, splat_elements_attr.getType().getElementType()),
                    splat_elements_attr.getSplatValue<Attribute>()));
        TFL::FillOp fill = op_builder->create<TFL::FillOp>(
            const_op->getLoc(), splat_elements_attr.getType(), fill_shape,
            fill_value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc

      auto launch_op = builder.create<tf_device::LaunchOp>(
          op->getLoc(), builder.getStringAttr(device),
          /*result_types=*/op->getResultTypes());
      op->replaceAllUsesWith(launch_op);
    
      launch_op.getBody().push_back(new Block);
      builder.setInsertionPointToEnd(&launch_op.GetBody());
      auto* return_op =
          builder.create<tf_device::ReturnOp>(op->getLoc(), op->getResults())
              .getOperation();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 04 00:59:46 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization.cc

        auto num_parallel_calls_op = rewriter.create<CastOp>(
            op.getLoc(), UnrankedTensorType::get(rewriter.getIntegerType(64)),
            batchInputOp.getNumParallelCalls(), rewriter.getBoolAttr(false));
    
        if (op.getMetadata() != batchInputOp.getMetadata()) {
          return failure();
        }
    
        auto fused_op = rewriter.create<MapAndBatchDatasetOp>(
            op.getLoc(), op.getType(), batchInputOp.getInputDataset(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top