Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for ellipsis (0.39 sec)

  1. tensorflow/cc/gradients/linalg_grad.cc

    namespace tensorflow {
    namespace ops {
    namespace {
    
    constexpr absl::string_view kEllipsis = "...";
    
    // Returns the axis (possibly negative) corresponding to a label.
    //
    // Returns the axis index of the axis label if it is before an ellipsis (or if
    // the ellipsis is not present), and the negative index if it occurs after the
    // ellipsis. E.g. index of `b` in `ab...cd`, is `1`, but that of `c` is `-2`.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 07 23:11:54 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/ast/astutil/enclosing.go

    			tok(n.TokPos, len(n.Tok.String())))
    
    	case *ast.CallExpr:
    		children = append(children,
    			tok(n.Lparen, len("(")),
    			tok(n.Rparen, len(")")))
    		if n.Ellipsis != 0 {
    			children = append(children, tok(n.Ellipsis, len("...")))
    		}
    
    	case *ast.CaseClause:
    		if n.List == nil {
    			children = append(children,
    				tok(n.Case, len("default")))
    		} else {
    			children = append(children,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 18 21:28:13 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  3. src/go/ast/ast.go

    		Obj     *Object   // denoted object, or nil. Deprecated: see Object.
    	}
    
    	// An Ellipsis node stands for the "..." type in a
    	// parameter list or the "..." length in an array type.
    	//
    	Ellipsis struct {
    		Ellipsis token.Pos // position of "..."
    		Elt      Expr      // ellipsis element type (parameter lists only); or nil
    	}
    
    	// A BasicLit node represents a literal of basic type.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  4. src/net/netip/netip.go

    	}
    
    	// If didn't parse enough, expand ellipsis.
    	if i < 16 {
    		if ellipsis < 0 {
    			return Addr{}, parseAddrError{in: in, msg: "address string too short"}
    		}
    		n := 16 - i
    		for j := i - 1; j >= ellipsis; j-- {
    			ip[j+n] = ip[j]
    		}
    		clear(ip[ellipsis : ellipsis+n])
    	} else if ellipsis >= 0 {
    		// Ellipsis must represent at least one 0 group.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  5. src/net/netip/fuzz_test.go

    	"::ffff:0:0%0",
    	// IPv6 (without ellipsis) with too many fields for trailing embedded IPv4.
    	"ffff:ffff:ffff:ffff:ffff:ffff:ffff:192.168.140.255",
    	// IPv6 (with ellipsis) with too many fields for trailing embedded IPv4.
    	"ffff::ffff:ffff:ffff:ffff:ffff:ffff:192.168.140.255",
    	// IPv6 with invalid embedded IPv4.
    	"::ffff:192.168.140.bad",
    	// IPv6 with multiple ellipsis ::.
    	"fe80::1::1",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
  6. docs/fr/docs/tutorial/query-params-str-validations.md

    ```
    
    !!! info
        Si vous n'avez jamais vu ce `...` auparavant : c'est une des constantes natives de Python <a href="https://docs.python.org/fr/3/library/constants.html#Ellipsis" class="external-link" target="_blank">appelée "Ellipsis"</a>.
    
    Cela indiquera à **FastAPI** que la présence de ce paramètre est obligatoire.
    
    ## Liste de paramètres / valeurs multiples via Query
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jul 27 18:53:21 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  7. docs/ru/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info "Дополнительная информация"
        Если вы ранее не сталкивались с `...`: это специальное значение, <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">часть языка Python и называется "Ellipsis"</a>.
    
        Используется в Pydantic и FastAPI для определения, что значение требуется обязательно.
    
    Таким образом, **FastAPI** определяет, что параметр является обязательным.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/query-params-str-validations.md

        ```
    
    !!! info
        If you hadn't seen that `...` before: it is a special single value, it is <a href="https://docs.python.org/3/library/constants.html#Ellipsis" class="external-link" target="_blank">part of Python and is called "Ellipsis"</a>.
    
        It is used by Pydantic and FastAPI to explicitly declare that a value is required.
    
    This will let **FastAPI** know that this parameter is required.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      *rhs_named_label_count = rhs_count;
      return labels;
    }
    
    // Generate new unnamed labels for the expression.
    // For example, if we have GenerateLabels(2, {'b', 'c', 'd'}) for "...xy"
    // We will have "dcxy" for the ellipsis expression since it's rank 4,
    // we will have dcbxy if it's rank 5.
    std::string GenerateLabels(int count,
                               const llvm::SetVector<char>& available_labels) {
      std::string new_labels(count, 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. fastapi/_compat.py

            or hasattr(origin, "__get_pydantic_core_schema__")
        )
    
    
    def field_annotation_is_scalar(annotation: Any) -> bool:
        # handle Ellipsis here to make tuple[int, ...] work nicely
        return annotation is Ellipsis or not field_annotation_is_complex(annotation)
    
    
    def field_annotation_is_scalar_sequence(annotation: Union[Type[Any], None]) -> bool:
        origin = get_origin(annotation)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top