Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 82 for getWho (0.13 sec)

  1. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/kotlin/greeting-plugin/src/main/java/org/sample/GreetingPlugin.java

            GreetingExtension extension = project.getExtensions().create("greeting", GreetingExtension.class);
            extension.getWho().convention("mate");
            TaskProvider<GreetingTask> task = project.getTasks().register("greeting", GreetingTask.class, t -> {
                t.getWho().convention(extension.getWho());
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 595 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/groovy/greeting-plugin/src/main/java/org/sample/GreetingTask.java

    import org.gradle.api.tasks.TaskAction;
    
    public abstract class GreetingTask extends DefaultTask {
    
        @Input
        public abstract Property<String> getWho();
    
        @TaskAction
        public void greet() {
            System.out.println("Hi " + getWho().get() + "!!!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 400 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/groovy/greeting-plugin/src/main/java/org/sample/GreetingPlugin.java

            GreetingExtension extension = project.getExtensions().create("greeting", GreetingExtension.class);
            extension.getWho().convention("mate");
            TaskProvider<GreetingTask> task = project.getTasks().register("greeting", GreetingTask.class, t -> {
                t.getWho().convention(extension.getWho());
            });
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 595 bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/kotlin/greeting-plugin/src/main/java/org/sample/GreetingTask.java

    import org.gradle.api.tasks.TaskAction;
    
    public abstract class GreetingTask extends DefaultTask {
    
        @Input
        public abstract Property<String> getWho();
    
        @TaskAction
        public void greet() {
            System.out.println("Hi " + getWho().get() + "!!!");
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 400 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/kotlin/greeting-plugin/src/main/java/org/sample/GreetingExtension.java

    package org.sample;
    
    import org.gradle.api.provider.Property;
    
    public abstract class GreetingExtension {
        public abstract Property<String> getWho();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 154 bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/samples/build-organization/composite-builds/plugin-dev/groovy/greeting-plugin/src/main/java/org/sample/GreetingExtension.java

    package org.sample;
    
    import org.gradle.api.provider.Property;
    
    public abstract class GreetingExtension {
        public abstract Property<String> getWho();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 154 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.cc

          value_eq.getLhs() != body.getArgument(0) ||
          value_eq.getRhs() != body.getArgument(2))
        return failure();
    
      mhlo::CompareOp index_lt = llvm::dyn_cast_or_null<mhlo::CompareOp>(
          index_and.getRhs().getDefiningOp());
      if (!index_lt ||
          index_lt.getComparisonDirection() != mhlo::ComparisonDirection::LT ||
          index_lt.getLhs() != body.getArgument(1) ||
          index_lt.getRhs() != body.getArgument(3))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 20:53:17 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        if (!dot.getLhs().getType().hasStaticShape() ||
            !dot.getRhs().getType().hasStaticShape())
          return rewriter.notifyMatchFailure(
              dot, "all dot_general operands must be statically shaped");
        if (dot.getLhs().getType().getElementType() !=
                first_dot.getLhs().getType().getElementType() ||
            dot.getRhs().getType().getElementType() !=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      StringAttr conv_padding = op.getPaddingAttr();
      SmallVector<int64_t> padding_nums;
      ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType());
      ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType());
    
      // Handle only static shape cases.
      // TODO(b/260284866): Handle dynamic shape cases.
      if (!lhs_shape.hasStaticShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) {
          return false;
        }
        if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() &&
            !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) {
          auto dnums = conv_op.getDimensionNumbers();
          auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top