Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 6 of 6 for AddParameter (0.17 seconds)

  1. 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;
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 5.2K bytes
    - Click Count (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)) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  3. 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(); }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 9K bytes
    - Click Count (0)
  4. 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());
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat May 31 07:13:41 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  5. 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());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilder.java

                MethodMetaData methodMetaData = new MethodMetaData(id, extensionDoc.getTargetClass().getClassMetaData());
                methodMetaData.addParameter("configClosure", new TypeMetaData(Closure.class.getName()));
                MethodDoc methodDoc = new MethodDoc(methodMetaData, Collections.singletonList(para));
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Click Count (0)
Back to Top