Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for getCode (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* b = Placeholder(graph, s, "B");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* two = ScalarConst(2, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      TF_Operation* plus2 = Add(a, two, graph, s, "plus2");
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_function.cc

                                                 &input_tensors, &input_nodes);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Process outputs.
      std::vector<tensorflow::OutputTensor> output_tensors;
      status->status = tensorflow::ProcessOutputs(fn_body, fn_name, noutputs,
                                                  outputs, &output_tensors);
      if (TF_GetCode(status) != TF_OK) return nullptr;
    
      // Process output names.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api_experimental.cc

        const auto& result = (*results)[i];
        TF_Status s;
        TF_SetStatus(&s, static_cast<TF_Code>(result.error_code()),
                     std::string(result.error_message()).data());
        if (TF_GetCode(&s) != TF_Code::TF_OK) {
          tensorflow::CoordinationServiceError error;
          *error.mutable_source_task() = result.error_payload().source_task();
          TF_SetPayload(&s, tensorflow::CoordinationErrorPayloadKey().data(),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. tensorflow/c/c_api.cc

        return;
      }
      status->status = graph->graph.UpdateEdge(&new_src.oper->node, new_src.index,
                                               &dst.oper->node, dst.index);
    
      if (TF_GetCode(status) == TF_OK) {
        // This modification only updates the destination node for
        // the purposes of running this graph in a session. Thus, we don't
        // record the source node as being modified.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/InternalSession.java

            }
        }
    
        RemoteRepository getRemoteRepository(org.eclipse.aether.repository.RemoteRepository repository);
    
        Node getNode(org.eclipse.aether.graph.DependencyNode node);
    
        Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose);
    
        @Nonnull
        Artifact getArtifact(@Nonnull org.eclipse.aether.artifact.Artifact artifact);
    
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  6. internal/bucket/object/lock/lock.go

    // Enabled indicates object locking is enabled
    const Enabled = "Enabled"
    
    // RetMode - object retention mode.
    type RetMode string
    
    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

                  return function.apply(
                      closer,
                      peeker.getDone(future1),
                      peeker.getDone(future2),
                      peeker.getDone(future3),
                      peeker.getDone(future4),
                      peeker.getDone(future5));
                }
    
                @Override
                public String toString() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  8. docs/de/docs/tutorial/body-updates.md

    ### Pydantics `exclude_unset`-Parameter verwenden
    
    Wenn Sie Teil-Aktualisierungen entgegennehmen, ist der `exclude_unset`-Parameter in der `.model_dump()`-Methode von Pydantic-Modellen sehr nützlich.
    
    Wie in `item.model_dump(exclude_unset=True)`.
    
    !!! info
        In Pydantic v1 hieß diese Methode `.dict()`, in Pydantic v2 wurde sie deprecated (aber immer noch unterstützt) und in `.model_dump()` umbenannt.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:26:37 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/path-operation-advanced-configuration.md

        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007_pv1.py!}
        ```
    
    !!! info
        In Pydantic Version 1 hieß die Methode zum Abrufen des JSON-Schemas für ein Modell `Item.schema()`, in Pydantic Version 2 heißt die Methode `Item.model_json_schema()`.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:27:23 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            return allRepositories.computeIfAbsent(repository, DefaultRemoteRepository::new);
        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node) {
            return getNode(node, false);
        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose) {
            return allNodes.computeIfAbsent(node, n -> new DefaultNode(this, n, verbose));
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:55:57 GMT 2024
    - 27.3K bytes
    - Viewed (0)
Back to top