Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for GetInputs (0.26 sec)

  1. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r33/IncompatibilityCrossVersionSpec.groovy

                public class MyTask extends DefaultTask {
                    public MyTask() {
                        getInputs().file("somefile");
                        getInputs().files("afile", "anotherfile");
                        getInputs().dir("someDir");
                        getInputs();
                        getOutputs();
                    }
                }
            """
            builder.buildJar(pluginJar)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/reduce.h

     public:
      using OpConversionPattern::OpConversionPattern;
      LogicalResult matchAndRewrite(
          mhlo::ReduceOp reduce_op, OpAdaptor adaptor,
          ConversionPatternRewriter& rewriter) const final {
        if (reduce_op.getInputs().size() != 2) return failure();
        if (reduce_op.getDimensions().getNumElements() != 1) return failure();
    
        // Check that the operand init is the expected value.
        DenseElementsAttr operand_init;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleBuildDocumentationPlugin.java

            tasks.named("test", Test.class).configure(task -> {
                task.getInputs().file(extension.getReleaseNotes().getRenderedDocumentation()).withPropertyName("releaseNotes").withPathSensitivity(PathSensitivity.NONE);
    
                task.getInputs().property("systemProperties", Collections.emptyMap());
                // TODO: This breaks the provider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 20:04:00 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

        if (llvm::count_if(type.getInputs(),
                           [=](Type type) { return type != control_type; }) != 1)
          return parser.emitError(parser.getNameLoc())
                 << " expects a single data type";
        result.types.assign(type.getResults().begin(), type.getResults().end());
        types.assign(type.getInputs().begin(), type.getInputs().end());
      } else {
        if (types.size() != 1)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/custom_call.cc

        ConversionPatternRewriter& rewriter) const {
      auto tfl_custom = rewriter.create<TFL::CustomOp>(
          mhlo_custom_call.getLoc(), mhlo_custom_call.getResultTypes(),
          mhlo_custom_call.getInputs());
      tfl_custom.setCustomCodeAttr(
          rewriter.getStringAttr(mhlo_custom_call.getCallTargetName()));
    
      if (auto bc = mhlo_custom_call.getBackendConfig()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/modify_io_nodes.cc

        return;
      }
    
      OpBuilder builder(func);
      FunctionType func_type = func.getFunctionType();
      llvm::SmallVector<Type, 4> new_input_types(func_type.getInputs().begin(),
                                                 func_type.getInputs().end());
      llvm::SmallVector<Type, 4> new_output_types(func_type.getResults().begin(),
                                                  func_type.getResults().end());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                            final List<ModelReference<?>> inputs = withImplicitInputs(action.getInputs());
                            final ModelReference<?> mappedSubject = mapSubject(action.getSubject(), targetPath);
                            mapInputs(inputs.subList(0, action.getInputs().size()), targetPath);
                            final MethodRuleDefinition<?, ?> methodRuleDefinition = details.method;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/functional_control_flow_to_regions.cc

      if (use_region_args) {
        auto inputs = func.getFunctionType().getInputs();
        entry->addArguments(inputs, SmallVector<Location>(inputs.size(), loc));
        args = entry->getArguments();
      }
      llvm::SmallVector<Value, 4> casted_args;
      casted_args.reserve(func.getNumArguments());
      for (const auto& ArgAndType : zip(args, func.getFunctionType().getInputs())) {
        Value arg = std::get<0>(ArgAndType);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

      if (!main_fn) {
        return absl::InternalError("Could not find main function in MLIR Module.");
      }
    
      mlir::FunctionType func_type = main_fn.getFunctionType();
      for (auto input_type : func_type.getInputs()) {
        tensorflow::TensorShape tensor_shape;
        xla::Shape xla_shape = xla::TypeToShape(input_type);
        TF_RETURN_IF_ERROR(tensorflow::TensorShape::BuildTensorShape(
            xla_shape.dimensions(), &tensor_shape));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

        return false;
      }
      return true;
    }
    
    bool ValidateReplicatedInput(TF::TPUReplicatedInputOp rep, int num_replicas,
                                 StringAttr attr) {
      int arity = rep.getInputs().size();
      if (rep.getIsPacked() && arity != 1) {
        rep.emitOpError(
            "TF2XLA TPU bridge input check: packed with number of inputs not 1.")
            << " num_replicas=" << num_replicas << " no. of inputs=" << arity;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top