Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 141 for set_inputs (0.99 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodRuleAction.java

    import org.gradle.model.internal.core.MutableModelNode;
    
    import java.util.List;
    
    public interface MethodRuleAction {
        ModelReference<?> getSubject();
    
        List<? extends ModelReference<?>> getInputs();
    
        void execute(ModelRuleInvoker<?> invoker, MutableModelNode modelNode, List<ModelView<?>> inputs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1K bytes
    - Viewed (0)
  2. tensorflow/cc/framework/ops.cc

    ==============================================================================*/
    
    #include "tensorflow/cc/framework/ops.h"
    #include "tensorflow/core/lib/hash/hash.h"
    
    namespace tensorflow {
    
    Operation::Operation(Node* n) : inputs_(GetInputs(n)), node_(n) {}
    
    Output Operation::input(int32_t i) const {
      CHECK_NOTNULL(node_);
      CHECK_GE(i, 0);
      CHECK_LT(i, node_->num_inputs());
      // Handle the case where the input was unknown at the time this
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  3. subprojects/core-api/src/main/java/org/gradle/api/tasks/TaskInputs.java

    import javax.annotation.Nullable;
    import java.util.Map;
    
    /**
     * <p>A {@code TaskInputs} represents the inputs for a task.</p>
     *
     * <p>You can obtain a {@code TaskInputs} instance using {@link org.gradle.api.Task#getInputs()}.</p>
     */
    @HasInternalProtocol
    public interface TaskInputs {
        /**
         * Returns true if this task has declared the inputs that it consumes.
         *
         * @return true if this task has declared any inputs.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 26 16:09:35 UTC 2022
    - 4.7K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelAction.java

    import java.util.List;
    
    public interface ModelAction {
    
        ModelReference<?> getSubject();
    
        void execute(MutableModelNode modelNode, List<ModelView<?>> inputs);
    
        List<? extends ModelReference<?>> getInputs();
    
        ModelRuleDescriptor getDescriptor();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 995 bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/MixInCoreTypesTransformingClassLoaderIntegrationTest.groovy

                        Assert.returnTypesFor task, "getOutputs", TaskOutputs, TaskOutputsInternal
    
                        // Internal return type leaked in Gradle 3.2
                        Assert.returnTypesFor task, "getInputs", TaskInputs, TaskInputsInternal
    
                        // Internal return types leaked in Gradle 3.2
                        Assert.returnTypesFor task.inputs, "dir", TaskInputFilePropertyBuilder, TaskInputFilePropertyBuilderInternal
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. platforms/software/platform-base/src/main/java/org/gradle/platform/base/BinarySpec.java

         * and other source sets created elsewhere (e.g. inherited from the binary's component).
         *
         * @return all inputs of the binary.
         */
        DomainObjectSet<LanguageSourceSet> getInputs();
    
        /**
         * The set of tasks associated with this binary.
         */
        BinaryTasksCollection getTasks();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/internal/project/taskfactory/TaskFactoryIntegrationTest.groovy

        @Issue("GRADLE-3317")
        def "can generate a task when the inject annotation is not present on all of the methods in the hierarchy"() {
            given:
            buildFile """
                //getInputs() and getOutputs() exists on both org.gradle.api.Task and org.gradle.api.internal.AbstractTask
                //Only AbstractTask has the @Inject annotation
    
                public interface BinaryFileProviderTask extends Task {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 26 07:44:53 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodBackedModelAction.java

            super(subject, descriptor);
            this.inputs = inputs;
        }
    
        @Override
        public List<? extends ModelReference<?>> getInputs() {
            return inputs;
        }
    
        @Override
        protected void execute(ModelRuleInvoker<?> invoker, T subject, List<ModelView<?>> inputs) {
            Object[] args = new Object[1 + this.inputs.size()];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top