Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 62 for if_node (0.27 sec)

  1. tensorflow/c/tf_status.h

    extern "C" {
    #endif
    
    typedef struct TSL_Status TF_Status;
    
    // --------------------------------------------------------------------------
    // TF_Code holds an error code.  The enum values here are identical to
    // corresponding values in error_codes.proto.
    typedef TSL_Code TF_Code;
    // LINT.IfChange
    #define TF_OK TSL_OK
    #define TF_CANCELLED TSL_CANCELLED
    #define TF_UNKNOWN TSL_UNKNOWN
    #define TF_INVALID_ARGUMENT TSL_INVALID_ARGUMENT
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 20:00:09 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/c/tf_status.cc

    }
    void TF_SetStatusFromIOError(TF_Status* s, int error_code,
                                 const char* context) {
      TSL_SetStatusFromIOError(s, error_code, context);
    }
    TF_Code TF_GetCode(const TF_Status* s) { return TF_Code(TSL_GetCode(s)); }
    const char* TF_Message(const TF_Status* s) { return TSL_Message(s); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 18:40:14 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  3. tensorflow/cc/experimental/base/public/status.h

      // Return the status code
      TF_Code code() const;
    
      // Returns the error message in Status.
      std::string message() const;
    
      // Returns the error message in Status.
      bool ok() const;
    
      // Record <code, msg> in Status. Any previous information is lost.
      // A common use is to clear a status: SetStatus(TF_OK, "");
      void SetStatus(TF_Code code, const std::string& msg);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  4. src/runtime/lfstack_test.go

    	return (*LFNode)(unsafe.Pointer(node))
    }
    
    func toMyNode(node *LFNode) *MyNode {
    	return (*MyNode)(unsafe.Pointer(node))
    }
    
    var global any
    
    func TestLFStack(t *testing.T) {
    	stack := new(uint64)
    	global = stack // force heap allocation
    
    	// Check the stack is initially empty.
    	if LFStackPop(stack) != nil {
    		t.Fatalf("stack is not empty")
    	}
    
    	// Push one element.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 23:12:04 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  5. pkg/auth/nodeidentifier/default_test.go

    		t.Run(tt.name, func(t *testing.T) {
    			nodeName, isNode := NewDefaultNodeIdentifier().NodeIdentity(tt.user)
    			if nodeName != tt.expectNodeName {
    				t.Errorf("DefaultNodeIdentifier.NodeIdentity() got = %v, want %v", nodeName, tt.expectNodeName)
    			}
    			if isNode != tt.expectIsNode {
    				t.Errorf("DefaultNodeIdentifier.NodeIdentity() got = %v, want %v", isNode, tt.expectIsNode)
    			}
    		})
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 19 15:35:04 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  6. pkg/auth/nodeidentifier/interfaces.go

    	// nodeName is the name of the Node API object associated with the user.Info,
    	// and may be empty if a specific node cannot be determined.
    	// isNode is true if the user.Info represents an identity issued to a node.
    	NodeIdentity(user.Info) (nodeName string, isNode bool)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 26 19:56:33 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. src/html/template/escape.go

    	if len(n.Pipe.Decl) != 0 {
    		// A local variable assignment, not an interpolation.
    		return c
    	}
    	c = nudge(c)
    	// Check for disallowed use of predefined escapers in the pipeline.
    	for pos, idNode := range n.Pipe.Cmds {
    		node, ok := idNode.Args[0].(*parse.IdentifierNode)
    		if !ok {
    			// A predefined escaper "esc" will never be found as an identifier in a
    			// Chain or Field node, since:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 02 15:18:39 UTC 2023
    - 32.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                        .distinct()
                        .sortedBy { it.id }
                }.distinct()
    
            return exitPoints.size > 1
        }
    
        private fun CFGNode<*>.unwrap(): CFGNode<*> {
            var current = this
    
            while (current.isExitNode()) {
                val following = current.followingNodes
                if (following.size == 1) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/StandardMutableGraph.java

     * graphs. Instances of this class should be constructed with {@link GraphBuilder}.
     *
     * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)},
     * which is in O(d_node) where d_node is the degree of {@code node}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/StandardMutableGraph.java

     * graphs. Instances of this class should be constructed with {@link GraphBuilder}.
     *
     * <p>Time complexities for mutation methods are all O(1) except for {@code removeNode(N node)},
     * which is in O(d_node) where d_node is the degree of {@code node}.
     *
     * @author James Sexton
     * @param <N> Node parameter type
     */
    @ElementTypesAreNonnullByDefault
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 2.4K bytes
    - Viewed (0)
Back to top