_id
stringlengths
5
9
text
stringlengths
5
385k
title
stringclasses
1 value
doc_14400
Return the path of this patch.
doc_14401
String comment from the server explaining the function of this cookie, or None.
doc_14402
Start a file with its associated application. When operation is not specified or 'open', this acts like double-clicking the file in Windows Explorer, or giving the file name as an argument to the start command from the interactive command shell: the file is opened with whatever application (if any) its extension is ass...
doc_14403
Set the artist transform. Parameters tTransform
doc_14404
Add a callback function that will be called whenever one of the Artist's properties changes. Parameters funccallable The callback function. It must have the signature: def func(artist: Artist) -> Any where artist is the calling Artist. Return values may exist but are ignored. Returns int The observer id ...
doc_14405
Create a compressor object, which can be used to compress data incrementally. For a more convenient way of compressing a single chunk of data, see compress(). The format argument specifies what container format should be used. Possible values are: FORMAT_XZ: The .xz container format. This is the default format. ...
doc_14406
Update the ModuleDict with the key-value pairs from a mapping or an iterable, overwriting existing keys. Note If modules is an OrderedDict, a ModuleDict, or an iterable of key-value pairs, the order of new elements in it is preserved. Parameters modules (iterable) – a mapping (dictionary) from string to Module, o...
doc_14407
Evaluate a 3-D Legendre series at points (x, y, z). This function returns the values: \[p(x,y,z) = \sum_{i,j,k} c_{i,j,k} * L_i(x) * L_j(y) * L_k(z)\] The parameters x, y, and z are converted to arrays only if they are tuples or a lists, otherwise they are treated as a scalars and they must have the same shape after...
doc_14408
Bases: matplotlib.scale.ScaleBase Provide an arbitrary scale with user-supplied function for the axis. Parameters axisAxis The axis for the scale. functions(callable, callable) two-tuple of the forward and inverse functions for the scale. The forward function must be monotonic. Both functions must have the ...
doc_14409
New in Django 4.0. The name of the template used when calling as_table(). By default this is 'django/forms/formsets/table.html'. This template renders the formset’s management form and then each form in the formset as per the form’s as_table() method.
doc_14410
ABC for classes that provide the __iter__() and __next__() methods. See also the definition of iterator.
doc_14411
See Migration guide for more details. tf.compat.v1.raw_ops.GeneratorDataset tf.raw_ops.GeneratorDataset( init_func_other_args, next_func_other_args, finalize_func_other_args, init_func, next_func, finalize_func, output_types, output_shapes, name=None ) Args init_func_other_args A list of Tensor obje...
doc_14412
Return the array of values, that are mapped to colors. The base class ScalarMappable does not make any assumptions on the dimensionality and shape of the array.
doc_14413
Add a Collection to the Axes; return the collection. Examples using matplotlib.axes.Axes.add_collection EventCollection Demo Using span_where Creating boxes from error bars using PatchCollection Reference for Matplotlib artists Line, Poly and RegularPoly Collection with autoscaling...
doc_14414
The __suppress_context__ value from the original exception.
doc_14415
tf.debugging.assert_positive( x, message=None, summarize=None, name=None ) This Op checks that x[i] > 0 holds for every element of x. If x is empty, this is trivially satisfied. If x is not positive everywhere, message, as well as the first summarize entries of x are printed, and InvalidArgumentError is raised. ...
doc_14416
Returns a string representation of the internal graph for the forward method. See Interpreting Graphs for details.
doc_14417
Project the data by using matrix product with the random matrix Parameters X{ndarray, sparse matrix} of shape (n_samples, n_features) The input data to project into a smaller dimensional space. Returns X_new{ndarray, sparse matrix} of shape (n_samples, n_components) Projected array.
doc_14418
A string containing the version number of the Python interpreter plus additional information on the build number and compiler used. This string is displayed when the interactive interpreter is started. Do not extract version information out of it, rather, use version_info and the functions provided by the platform modu...
doc_14419
class sklearn.neighbors.RadiusNeighborsTransformer(*, mode='distance', radius=1.0, algorithm='auto', leaf_size=30, metric='minkowski', p=2, metric_params=None, n_jobs=1) [source] Transform X into a (weighted) graph of neighbors nearer than a radius The transformed data is a sparse graph as returned by radius_neighbor...
doc_14420
Return a is b. Tests object identity.
doc_14421
Bases: matplotlib.patches.ConnectionStyle._Base A line with angle between A and B with armA and armB. One of the arms is extended so that they are connected in a right angle. The length of armA is determined by (armA + fraction x AB distance). Same for armB. Parameters armAfloat minimum length of armA armBflo...
doc_14422
The numeric constant for an uncompressed archive member.
doc_14423
Token value for "//=".
doc_14424
Change the encoding used to return translated messages. Deprecated since version 3.8, will be removed in version 3.10.
doc_14425
Returns True if x is a signaling NaN; otherwise returns False.
doc_14426
Returns an iterator over module buffers, yielding both the name of the buffer as well as the buffer itself. Parameters prefix (str) – prefix to prepend to all buffer names. recurse (bool) – if True, then yields buffers of this module and all submodules. Otherwise, yields only buffers that are direct members of thi...
doc_14427
See Migration guide for more details. tf.compat.v1.linalg.qr, tf.compat.v1.qr tf.linalg.qr( input, full_matrices=False, name=None ) Computes the QR decomposition of each inner matrix in tensor such that tensor[..., :, :] = q[..., :, :] * r[..., :,:]) Currently, the gradient for the QR decomposition is well-defin...
doc_14428
Set the artist transform. Parameters tTransform
doc_14429
Token value for ">=".
doc_14430
Set the parameters of this estimator. The method works on simple estimators as well as on nested objects (such as Pipeline). The latter have parameters of the form <component>__<parameter> so that it’s possible to update each component of a nested object. Parameters **paramsdict Estimator parameters. Returns...
doc_14431
Set the Figure instance the artist belongs to. Parameters figFigure
doc_14432
Adds a child pruning method to the container. Parameters method (subclass of BasePruningMethod) – child pruning method to be added to the container.
doc_14433
See Migration guide for more details. tf.compat.v1.math.special.dawsn tf.math.special.dawsn( x, name=None ) Dawson's integral is defined as exp(-x**2) times the integral of exp(t**2) from 0 to x, with the domain of definition all real numbers. Dawson's function is odd. >>> tf.math.special.dawsn([-1., -0.5, 0.5, ...
doc_14434
Return a list of font names that comprise the font family.
doc_14435
'blogs.blog': lambda o: "/blogs/%s/" % o.slug, 'news.story': lambda o: "/stories/%s/%s/" % (o.pub_year, o.slug), } The model name used in this setting should be all lowercase, regardless of the case of the actual model class name. ADMINS Default: [] (Empty list) A list of all the people who get code error noti...
doc_14436
Coarse to fine optical flow estimator. The iterative Lucas-Kanade (iLK) solver is applied at each level of the image pyramid. iLK [1] is a fast and robust alternative to TVL1 algorithm although less accurate for rendering flat surfaces and object boundaries (see [2]). Parameters reference_imagendarray, shape (M, ...
doc_14437
The underlying raw stream (a RawIOBase instance) that BufferedIOBase deals with. This is not part of the BufferedIOBase API and may not exist on some implementations.
doc_14438
Return the day of the week as an integer, where Monday is 0 and Sunday is 6. For example, date(2002, 12, 4).weekday() == 2, a Wednesday. See also isoweekday().
doc_14439
Recursive implementation used by repr(). This uses the type of obj to determine which formatting method to call, passing it obj and level. The type-specific methods should call repr1() to perform recursive formatting, with level - 1 for the value of level in the recursive call.
doc_14440
Add text to figure. Parameters x, yfloat The position to place the text. By default, this is in figure coordinates, floats in [0, 1]. The coordinate system can be changed using the transform keyword. sstr The text string. fontdictdict, optional A dictionary to override the default text properties. If no...
doc_14441
Online computation of mean and std on X for later scaling. All of X is processed as a single batch. This is intended for cases when fit is not feasible due to very large number of n_samples or because X is read from a continuous stream. The algorithm for incremental mean and std is given in Equation 1.5a,b in Chan, T...
doc_14442
Define the picking behavior of the artist. Parameters pickerNone or bool or float or callable This can be one of the following: None: Picking is disabled for this artist (default). A boolean: If True then picking will be enabled and the artist will fire a pick event if the mouse event is over the artist. A fl...
doc_14443
Is the specified record to be logged? Returns zero for no, nonzero for yes. If deemed appropriate, the record may be modified in-place by this method.
doc_14444
Sends emails to admin users. To customize this behavior, you can subclass the AdminEmailHandler class and override this method.
doc_14445
Predict using the linear model. Parameters Xarray-like or sparse matrix, shape (n_samples, n_features) Samples. Returns Carray, shape (n_samples,) Returns predicted values.
doc_14446
Finally, you can conditionally enable or disable actions on a per-request (and hence per-user basis) by overriding ModelAdmin.get_actions(). This returns a dictionary of actions allowed. The keys are action names, and the values are (function, name, short_description) tuples. For example, if you only want users whose n...
doc_14447
Renders this template with a given context. If context is provided, it must be a dict. If it isn’t provided, the engine will render the template with an empty context. If request is provided, it must be an HttpRequest. Then the engine must make it, as well as the CSRF token, available in the template. How this is achie...
doc_14448
Raise an error.
doc_14449
credits Objects that when printed or called, print the text of copyright or credits, respectively.
doc_14450
Represents the C float datatype. The constructor accepts an optional float initializer.
doc_14451
Predict if a particular sample is an outlier or not. Parameters X{array-like, sparse matrix} of shape (n_samples, n_features) The input samples. Internally, it will be converted to dtype=np.float32 and if a sparse matrix is provided to a sparse csr_matrix. Returns is_inlierndarray of shape (n_samples,) ...
doc_14452
The address of the server. (host, port), (path, None) for unix sockets, or None if not known.
doc_14453
class html.parser.HTMLParser(*, convert_charrefs=True) Create a parser instance able to parse invalid markup. If convert_charrefs is True (the default), all character references (except the ones in script/style elements) are automatically converted to the corresponding Unicode characters. An HTMLParser instance is fe...
doc_14454
is_superuser Boolean. Designates that this user has all permissions without explicitly assigning them. get_user_permissions(obj=None) Returns a set of permission strings that the user has directly. If obj is passed in, only returns the user permissions for this specific object. get_group_permissions(obj=N...
doc_14455
Inverse hyperbolic tangent element-wise. Parameters xarray_like Input array. outndarray, None, or tuple of ndarray and None, optional A location into which the result is stored. If provided, it must have a shape that the inputs broadcast to. If not provided or None, a freshly-allocated array is returned. A ...
doc_14456
See Migration guide for more details. tf.compat.v1.raw_ops.BatchMatrixSolveLs tf.raw_ops.BatchMatrixSolveLs( matrix, rhs, l2_regularizer, fast=True, name=None ) Args matrix A Tensor. Must be one of the following types: float64, float32. rhs A Tensor. Must have the same type as matrix. l2_regul...
doc_14457
Yield images of the laplacian pyramid formed by the input image. Each layer contains the difference between the downsampled and the downsampled, smoothed image: layer = resize(prev_layer) - smooth(resize(prev_layer)) Note that the first image of the pyramid will be the difference between the original, unscaled image...
doc_14458
Class implementing the .plot attribute for groupby objects.
doc_14459
A reference was made to an entity which was not defined.
doc_14460
Return whether the artist is pickable. See also set_picker, get_picker, pick
doc_14461
When autoscaling, whether to obey all Artist.sticky_edges. Default is True. Setting this to False ensures that the specified margins will be applied, even if the plot includes an image, for example, which would otherwise force a view limit to coincide with its data limit. The changing this property does not change th...
doc_14462
See Migration guide for more details. tf.compat.v1.math.special.fresnel_sin tf.math.special.fresnel_sin( x, name=None ) The Fresnel sine integral is defined as the integral of sin(t^2) from 0 to x, with the domain of definition all real numbers. tf.math.special.fresnel_sin([-1., -0.1, 0.1, 1.]).numpy() array([-...
doc_14463
crypt.METHOD_SHA512 A Modular Crypt Format method with 16 character salt and 86 character hash based on the SHA-512 hash function. This is the strongest method. crypt.METHOD_SHA256 Another Modular Crypt Format method with 16 character salt and 43 character hash based on the SHA-256 hash function. crypt.METH...
doc_14464
GNU tar format.
doc_14465
Return a list of the child Artists of this Artist.
doc_14466
If True, lines starting with “From “ in the body are escaped by putting a > in front of them. This parameter is used when the message is being serialized by a generator. Default: False. New in version 3.5: The mangle_from_ parameter.
doc_14467
Learn a NMF model for the data X and returns the transformed data. This is more efficient than calling fit followed by transform. Parameters X{array-like, sparse matrix} of shape (n_samples, n_features) Data matrix to be decomposed yIgnored Warray-like of shape (n_samples, n_components) If init=’custom’, ...
doc_14468
Convert y using the unit type of the yaxis. If the artist is not in contained in an Axes or if the yaxis does not have units, y itself is returned.
doc_14469
add(geom) Adds a geometry to this geometry collection. Not applicable to other geometry types.
doc_14470
tf.compat.v1.distribute.StrategyExtended( container_strategy ) Note: For most usage of tf.distribute.Strategy, there should be no need to call these methods, since TensorFlow libraries (such as optimizers) already call these methods when needed on your behalf. Some common use cases of functions on this page: Lo...
doc_14471
Compose self with the inverse of other, cancelling identical terms if any: # In general: A - B == A + B.inverted() # (but see note regarding frozen transforms below). # If A "ends with" B (i.e. A == A' + B for some A') we can cancel # out B: (A' + B) - B == A' # Likewise, if B "starts with" A (B = A + B'), we can c...
doc_14472
Sets the weekday (0 is Monday, 6 is Sunday) to start each week. The values MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, and SUNDAY are provided for convenience. For example, to set the first weekday to Sunday: import calendar calendar.setfirstweekday(calendar.SUNDAY)
doc_14473
turtle.pd() turtle.down() Pull the pen down – drawing when moving.
doc_14474
Bases: matplotlib.backend_bases.FigureCanvasBase draw()[source] Render the Figure. It is important that this method actually walk the artist tree even if not output is produced because this will trigger deferred work (like computing limits auto-limits and tick values) that users may want access to before saving t...
doc_14475
An enumeration of SafeUUID which indicates whether the platform generated the UUID in a multiprocessing-safe way. New in version 3.7.
doc_14476
See Migration guide for more details. tf.compat.v1.raw_ops.PriorityQueue tf.raw_ops.PriorityQueue( shapes, component_types=[], capacity=-1, container='', shared_name='', name=None ) Note that the PriorityQueue requires the first component of any element to be a scalar int64, in addition to the other elements...
doc_14477
Assign desired index to given axis. Indexes for column or row labels can be changed by assigning a list-like or Index. Parameters labels:list-like, Index The values for the new index. axis:{0 or ‘index’, 1 or ‘columns’}, default 0 The axis to update. The value 0 identifies the rows, and 1 identifies the col...
doc_14478
Return a flattened array. Refer to numpy.ravel for full documentation. See also numpy.ravel equivalent function ndarray.flat a flat iterator on the array.
doc_14479
Transform the given indicator matrix into label sets. Parameters yt{ndarray, sparse matrix} of shape (n_samples, n_classes) A matrix containing only 1s ands 0s. Returns ylist of tuples The set of labels for each sample such that y[i] consists of classes_[j] for each yt[i, j] == 1.
doc_14480
Resolve and ‘.’ from path.
doc_14481
Returns True if the function passed in is a handler for a method or property belonging to torch.Tensor, as passed into __torch_function__. Note For properties, their __get__ method must be passed in. This may be needed, in particular, for the following reasons: Methods/properties sometimes don’t contain a __module...
doc_14482
Start the process’s activity. This must be called at most once per process object. It arranges for the object’s run() method to be invoked in a separate process.
doc_14483
tf.compat.v1.layers.Conv3DTranspose( filters, kernel_size, strides=(1, 1, 1), padding='valid', data_format='channels_last', activation=None, use_bias=True, kernel_initializer=None, bias_initializer=tf.zeros_initializer(), kernel_regularizer=None, bias_regularizer=None, activity_regularizer=None, ker...
doc_14484
Copy infile to outfile through the pipe.
doc_14485
sklearn.utils.check_random_state(seed) [source] Turn seed into a np.random.RandomState instance Parameters seedNone, int or instance of RandomState If seed is None, return the RandomState singleton used by np.random. If seed is an int, return a new RandomState instance seeded with seed. If seed is already a Ran...
doc_14486
Base class for all store implementations, such as the 3 provided by PyTorch distributed: (TCPStore, FileStore, and HashStore).
doc_14487
The year, month and day arguments are required. tzinfo may be None, or an instance of a tzinfo subclass. The remaining arguments must be integers in the following ranges: MINYEAR <= year <= MAXYEAR, 1 <= month <= 12, 1 <= day <= number of days in the given month and year, 0 <= hour < 24, 0 <= minute < 60, 0 <= s...
doc_14488
Add a callback to be run when the Task is done. This method should only be used in low-level callback-based code. See the documentation of Future.add_done_callback() for more details.
doc_14489
Wrap strings in Series/Index at specified line width. This method has the same keyword parameters and defaults as textwrap.TextWrapper. Parameters width:int Maximum line width. expand_tabs:bool, optional If True, tab characters will be expanded to spaces (default: True). replace_whitespace:bool, optional ...
doc_14490
Keymap to associate with this tool. list[str]: List of keys that will trigger this tool when a keypress event is emitted on self.figure.canvas.
doc_14491
Replaces the root element for this tree. This discards the current contents of the tree, and replaces it with the given element. Use with care. element is an element instance.
doc_14492
Get the Torch Hub cache directory used for storing downloaded models & weights. If set_dir() is not called, default path is $TORCH_HOME/hub where environment variable $TORCH_HOME defaults to $XDG_CACHE_HOME/torch. $XDG_CACHE_HOME follows the X Design Group specification of the Linux filesystem layout, with a default ...
doc_14493
See Migration guide for more details. tf.compat.v1.raw_ops.ScatterNdMin tf.raw_ops.ScatterNdMin( ref, indices, updates, use_locking=False, name=None ) Args ref A mutable Tensor. Must be one of the following types: float32, float64, int32, uint8, int16, int8, complex64, int64, qint8, quint8, qint32, bflo...
doc_14494
mmap.MADV_RANDOM mmap.MADV_SEQUENTIAL mmap.MADV_WILLNEED mmap.MADV_DONTNEED mmap.MADV_REMOVE mmap.MADV_DONTFORK mmap.MADV_DOFORK mmap.MADV_HWPOISON mmap.MADV_MERGEABLE mmap.MADV_UNMERGEABLE mmap.MADV_SOFT_OFFLINE mmap.MADV_HUGEPAGE mmap.MADV_NOHUGEPAGE mmap.MADV_DONTDUMP mmap.MADV_DODUMP m...
doc_14495
acquires a buffer object for the pixels of the Surface. get_buffer() -> BufferProxy Return a buffer object for the pixels of the Surface. The buffer can be used for direct pixel access and manipulation. Surface pixel data is represented as an unstructured block of memory, with a start address and length in bytes. The...
doc_14496
This visitor calls visit() on all children of the node. Note that child nodes of nodes that have a custom visitor method won’t be visited unless the visitor calls generic_visit() or visits them itself.
doc_14497
See Migration guide for more details. tf.compat.v1.raw_ops.OnesLike tf.raw_ops.OnesLike( x, name=None ) Args x A Tensor. Must be one of the following types: bfloat16, half, float32, float64, int8, uint8, int16, uint16, int32, int64, complex64, complex128, bool. a tensor of type T. name A name for ...
doc_14498
See torch.sin()
doc_14499
Reset the decoder to the initial state.