Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for addParameter (0.08 sec)

  1. compat/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/MojoDescriptorTest.java

            MojoDescriptor mojoDescriptor = new MojoDescriptor();
            Parameter param1 = new Parameter();
            param1.setName("param1");
            param1.setDefaultValue("value1");
            mojoDescriptor.addParameter(param1);
    
            assertEquals(1, mojoDescriptor.getParameters().size());
    
            assertEquals(
                    mojoDescriptor.getParameters().size(),
                    mojoDescriptor.getParameterMap().size());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

            this.parameters.clear();
            for (Parameter parameter : parameters) {
                addParameter(parameter);
            }
        }
    
        /**
         * @param parameter add a new parameter
         * @throws DuplicateParameterException if any
         */
        public void addParameter(Parameter parameter) throws DuplicateParameterException {
            if (parameters.contains(parameter)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_internal.h

     protected:
      explicit TracingContext(AbstractContextKind kind) : AbstractContext(kind) {}
    
     public:
      // Add a function parameter and return the corresponding tensor.
      virtual absl::Status AddParameter(DataType dtype,
                                        const PartialTensorShape& shape,
                                        TracingTensorHandle**) = 0;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental.cc

            &partial_shape);
        if (!status.ok()) {
          tsl::Set_TF_Status_from_Status(s, status);
          return nullptr;
        }
      }
      tsl::Set_TF_Status_from_Status(
          s, tracing_ctx->AddParameter(static_cast<DataType>(dtype), partial_shape,
                                       &t));
      return wrap(t);
    }
    
    void TF_DeleteExecutionContext(TF_ExecutionContext* c) { unwrap(c)->Release(); }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental_graph.cc

            name_(name) {}
    
      void Release() override { delete this; }
    
      TracingOperation* CreateOperation() override {
        return new GraphOperation(graph_.get());
      }
    
      absl::Status AddParameter(DataType dtype, const PartialTensorShape& shape,
                                TracingTensorHandle** output) override {
        TracingOperationPtr operation(CreateOperation());
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/common.kt

        parentProjectId = AbsoluteId("Gradle")
        projectId = AbsoluteId("Gradle_Master")
        settingsRootId = AbsoluteId("GradleMaster")
        settingsRoot.name = "GradleMaster"
        addParameters("Branch" to "master")
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 662 bytes
    - Viewed (0)
Back to top