_id
stringlengths
5
9
text
stringlengths
5
385k
title
stringclasses
1 value
doc_29700
See Migration guide for more details. tf.compat.v1.TensorShape tf.TensorShape( dims ) A TensorShape represents a possibly-partial shape specification for a Tensor. It may be one of the following: Fully-known shape: has a known number of dimensions and a known size for each dimension. e.g. TensorShape([16, 256]...
doc_29701
Aggregate using one or more operations over the specified axis. Parameters func:function, str, list or dict Function to use for aggregating the data. If a function, must either work when passed a Series or when passed to Series.apply. Accepted combinations are: function string function name list of functions a...
doc_29702
Implement the default Matplotlib key bindings for the canvas and toolbar described at Navigation keyboard shortcuts. Parameters eventKeyEvent A key press/release event. canvasFigureCanvasBase, default: event.canvas The backend-specific canvas instance. This parameter is kept for back-compatibility, but, if ...
doc_29703
Raised when a system call is interrupted by an incoming signal. Corresponds to errno EINTR. Changed in version 3.5: Python now retries system calls when a syscall is interrupted by a signal, except if the signal handler raises an exception (see PEP 475 for the rationale), instead of raising InterruptedError.
doc_29704
Return the locations of the ticks. Note Because the values are fixed, vmin and vmax are not used in this method.
doc_29705
Bases: tuple Create new instance of PsFont(texname, psname, effects, encoding, filename) effects Alias for field number 2 encoding Alias for field number 3 filename Alias for field number 4 psname Alias for field number 1 texname Alias for field number 0
doc_29706
Return a list of all the message’s field values.
doc_29707
Check if the interval is open on the right side. For the meaning of closed and open see Interval. Returns bool True if the Interval is closed on the left-side.
doc_29708
See Migration guide for more details. tf.compat.v1.random.uniform, tf.compat.v1.random_uniform tf.random.uniform( shape, minval=0, maxval=None, dtype=tf.dtypes.float32, seed=None, name=None ) The generated values follow a uniform distribution in the range [minval, maxval). The lower bound minval is included in t...
doc_29709
Return the current process’s real user id. Availability: Unix.
doc_29710
Bases: matplotlib.collections.RegularPolyCollection Draw a collection of regular asterisks with numsides points. Parameters numsidesint The number of sides of the polygon. rotationfloat The rotation of the polygon in radians. sizestuple of float The area of the circle circumscribing the polygon in point...
doc_29711
Return an array (ndim >= 1) laid out in Fortran order in memory. Parameters aarray_like Input array. dtypestr or dtype object, optional By default, the data-type is inferred from the input data. likearray_like Reference object to allow the creation of arrays which are not NumPy arrays. If an array-like ...
doc_29712
Returns a SpatialReference object corresponding to the SRID of the geometry or None.
doc_29713
This is the quantized version of LayerNorm. Additional args: scale - quantization scale of the output, type: double. zero_point - quantization zero point of the output, type: long.
doc_29714
This is a standard context defined by the General Decimal Arithmetic Specification. Precision is set to nine. Rounding is set to ROUND_HALF_EVEN. All flags are cleared. No traps are enabled (so that exceptions are not raised during computations). Because the traps are disabled, this context is useful for applications t...
doc_29715
Encode character string in the Series/Index using indicated encoding. Equivalent to str.encode(). Parameters encoding:str errors:str, optional Returns encoded:Series/Index of objects
doc_29716
Create a 3D contour plot. Note This method currently produces incorrect output due to a longstanding bug in 3D PolyCollection rendering. Parameters X, Y, Zarray-like Input data. See tricontour for acceptable data shapes. extend3dbool, default: False Whether to extend contour in 3D. strideint Step size...
doc_29717
CAN_ISOTP, in the CAN protocol family, is the ISO-TP (ISO 15765-2) protocol. ISO-TP constants, documented in the Linux documentation. Availability: Linux >= 2.6.25. New in version 3.7.
doc_29718
If tzinfo is None, returns None, else returns self.tzinfo.tzname(None), or raises an exception if the latter doesn’t return None or a string object.
doc_29719
Base class which can be inherited by SAX parsers.
doc_29720
Casts all floating point parameters and buffers to half datatype. Returns self Return type Module
doc_29721
Make the response conditional to the request. This method works best if an etag was defined for the response already. The add_etag method can be used to do that. If called without etag just the date header is set. This does nothing if the request method in the request or environ is anything but GET or HEAD. For optimal...
doc_29722
tf.experimental.numpy.arctan( x ) Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.arctan.
doc_29723
This flag can be OR’ed with any other scheduling policy. When a process with this flag set forks, its child’s scheduling policy and priority are reset to the default.
doc_29724
This is the quantized version of InstanceNorm1d. Additional args: scale - quantization scale of the output, type: double. zero_point - quantization zero point of the output, type: long.
doc_29725
Call predict_proba on the estimator with the best found parameters. Only available if refit=True and the underlying estimator supports predict_proba. Parameters Xindexable, length n_samples Must fulfill the input assumptions of the underlying estimator.
doc_29726
Creates a text iterator. The iterator loops over this element and all subelements, in document order, and returns all inner text. New in version 3.2.
doc_29727
temporarily set which modifier keys are pressed set_mods(int) -> None Create a bitmask of the modifier key constants you want to impose on your program.
doc_29728
Returns an fp32 Tensor by dequantizing a quantized Tensor Parameters tensor (Tensor) – A quantized Tensor torch.dequantize(tensors) → sequence of Tensors Given a list of quantized Tensors, dequantize them and return a list of fp32 Tensors Parameters tensors (sequence of Tensors) – A list of quantized Tensors
doc_29729
Create an archive file (such as zip or tar) and return its name. base_name is the name of the file to create, including the path, minus any format-specific extension. format is the archive format: one of “zip” (if the zlib module is available), “tar”, “gztar” (if the zlib module is available), “bztar” (if the bz2 modul...
doc_29730
Return the sketch parameters for the artist. Returns tuple or None A 3-tuple with the following elements: scale: The amplitude of the wiggle perpendicular to the source line. length: The length of the wiggle along the line. randomness: The scale factor by which the length is shrunken or expanded. May return...
doc_29731
Roll provided date backward to next offset only if not on offset. Returns TimeStamp Rolled timestamp if not on offset, otherwise unchanged timestamp.
doc_29732
Get this Axis' tick labels. Parameters minorbool Whether to return the minor or the major ticklabels. whichNone, ('minor', 'major', 'both') Overrides minor. Selects which ticklabels to return Returns list of Text Notes The tick label strings are not populated until a draw method has been called. Se...
doc_29733
Convert hsv values to rgb. Parameters hsv(..., 3) array-like All values assumed to be in range [0, 1] Returns (..., 3) ndarray Colors converted to RGB values in range [0, 1] Examples using matplotlib.colors.hsv_to_rgb 3D voxel / volumetric plot with cylindrical coordinates
doc_29734
Add multiple tools to the container. Parameters containerContainer backend_bases.ToolContainerBase object that will get the tools added. toolslist, optional List in the form [[group1, [tool1, tool2 ...]], [group2, [...]]] where the tools [tool1, tool2, ...] will display in group1. See add_tool for details.
doc_29735
If set, a new dict will be created for the frame’s f_locals when the code object is executed.
doc_29736
A tuple of integers the length of ndim giving the size in bytes to access each element for each dimension of the array. Changed in version 3.3: An empty tuple instead of None when ndim = 0.
doc_29737
The headers received with the request.
doc_29738
Parameters fpsint, default: 5 Movie frame rate (per second). codecstr or None, default: rcParams["animation.codec"] (default: 'h264') The codec to use. bitrateint, default: rcParams["animation.bitrate"] (default: -1) The bitrate of the movie, in kilobits per second. Higher values means higher quality mo...
doc_29739
Accept: application/json Might receive an error response indicating that the DELETE method is not allowed on that resource: HTTP/1.1 405 Method Not Allowed Content-Type: application/json Content-Length: 42 {"detail": "Method 'DELETE' not allowed."} Validation errors are handled slightly differently, and will include...
doc_29740
Moves all model parameters and buffers to the XPU. This also makes associated parameters and buffers different objects. So it should be called before constructing optimizer if the module will live on XPU while being optimized. Parameters device (int, optional) – if specified, all parameters will be copied to that dev...
doc_29741
Set multiple properties at once. Supported properties are Property Description agg_filter a filter function, which takes a (m, n, 3) float array and a dpi value, and returns a (m, n, 3) array alpha scalar or None animated bool annotation_clip bool or None clip_box Bbox clip_on bool clip_path Patch o...
doc_29742
Defines the type of class returned by the get_lookup() method. It must be a Field instance.
doc_29743
Equivalent to KEY_READ.
doc_29744
The prefix that the application is mounted under, without a trailing slash. path comes after this.
doc_29745
Concatenate the tokens of the list split_command and return a string. This function is the inverse of split(). >>> from shlex import join >>> print(join(['echo', '-n', 'Multiple words'])) echo -n 'Multiple words' The returned value is shell-escaped to protect against injection vulnerabilities (see quote()). New in ve...
doc_29746
Initialize self. See help(type(self)) for accurate signature.
doc_29747
Motion blurred clock. This photograph of a wall clock was taken while moving the camera in an aproximately horizontal direction. It may be used to illustrate inverse filters and deconvolution. Released into the public domain by the photographer (Stefan van der Walt). Returns clock(300, 400) uint8 ndarray Clock ...
doc_29748
Move ticks and ticklabels (if present) to the top of the axes. Examples using matplotlib.axis.XAxis.tick_top Broken Axis Title positioning
doc_29749
tf.experimental.numpy.ceil( x ) Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.ceil.
doc_29750
Update colors from the scalar mappable array, if any. Assign colors to edges and faces based on the array and/or colors that were directly set, as appropriate.
doc_29751
tf.experimental.numpy.hypot( x1, x2 ) Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.hypot.
doc_29752
Compute probabilities of possible outcomes for samples in X. The model need to have probability information computed at training time: fit with attribute probability set to True. Parameters Xarray-like of shape (n_samples, n_features) For kernel=”precomputed”, the expected shape of X is (n_samples_test, n_samples...
doc_29753
Return whether the Artist has an explicitly set transform. This is True after set_transform has been called.
doc_29754
Bases: matplotlib.widgets.AxesWidget A GUI neutral text input box. For the text box to remain responsive you must keep a reference to it. Call on_text_change to be updated whenever the text changes. Call on_submit to be updated whenever the user hits enter or leaves the text entry field. Attributes axAxes The p...
doc_29755
Set the antialiasing state for rendering. Parameters aabool or list of bools
doc_29756
See Migration guide for more details. tf.compat.v1.debugging.assert_negative tf.compat.v1.assert_negative( x, data=None, summarize=None, message=None, name=None ) When running in graph mode, you should add a dependency on this operation to ensure that it runs. Example of adding a dependency to an operation: with...
doc_29757
See Migration guide for more details. tf.compat.v1.clip_by_value tf.clip_by_value( t, clip_value_min, clip_value_max, name=None ) Given a tensor t, this operation returns a tensor of the same type and shape as t with its values clipped to clip_value_min and clip_value_max. Any values less than clip_value_min are...
doc_29758
class sklearn.ensemble.BaggingRegressor(base_estimator=None, n_estimators=10, *, max_samples=1.0, max_features=1.0, bootstrap=True, bootstrap_features=False, oob_score=False, warm_start=False, n_jobs=None, random_state=None, verbose=0) [source] A Bagging regressor. A Bagging regressor is an ensemble meta-estimator th...
doc_29759
Bases: matplotlib.dates.DateLocator On autoscale, this class picks the best DateLocator to set the view limits and the tick locations. Attributes intervalddict Mapping of tick frequencies to multiples allowed for that ticking. The default is self.intervald = { YEARLY : [1, 2, 4, 5, 10, 20, 40, 50, 100, 200...
doc_29760
Return True if any value in the group is truthful, else False. Parameters skipna:bool, default True Flag to ignore nan values during truth testing. Returns Series or DataFrame DataFrame or Series of boolean values, where a value is True if any element is True within its respective group, False otherwise. ...
doc_29761
This module contains table contents for the standard sequence tables: AdminExecuteSequence, AdminUISequence, AdvtExecuteSequence, InstallExecuteSequence, and InstallUISequence.
doc_29762
Return True if the Python interpreter is shutting down, False otherwise. New in version 3.5.
doc_29763
The masked constant is a special case of MaskedArray, with a float datatype and a null shape. It is used to test whether a specific entry of a masked array is masked, or to mask one or several entries of a masked array: >>> x = ma.array([1, 2, 3], mask=[0, 1, 0]) >>> x[1] is ma.masked True >>> x[-1] = ma.masked >>> x...
doc_29764
Disconnect events.
doc_29765
Return repr(self).
doc_29766
See Migration guide for more details. tf.compat.v1.data.experimental.group_by_window tf.data.experimental.group_by_window( key_func, reduce_func, window_size=None, window_size_func=None ) This transformation maps each consecutive element in a dataset to a key using key_func and groups the elements by key. It the...
doc_29767
Set if artist is to be included in layout calculations, E.g. Constrained Layout Guide, Figure.tight_layout(), and fig.savefig(fname, bbox_inches='tight'). Parameters in_layoutbool
doc_29768
Change the hardware gamma ramps with a custom lookup set_gamma_ramp(red, green, blue) -> bool Set the red, green, and blue gamma ramps with an explicit lookup table. Each argument should be sequence of 256 integers. The integers should range between 0 and 0xffff. Not all systems and hardware support gamma ramps, if t...
doc_29769
Set the JoinStyle for the collection (for all its elements). Parameters jsJoinStyle or {'miter', 'round', 'bevel'}
doc_29770
See Migration guide for more details. tf.compat.v1.raw_ops.Expm1 tf.raw_ops.Expm1( x, name=None ) i.e. exp(x) - 1 or e^(x) - 1, where x is the input tensor. e denotes Euler's number and is approximately equal to 2.718281. x = tf.constant(2.0) tf.math.expm1(x) ==> 6.389056 x = tf.constant([2.0, 8.0]) tf.math.exp...
doc_29771
Set the lower value of the slider to max. Parameters maxfloat
doc_29772
Set the animated state of the handles artist.
doc_29773
Fit to data, then transform it. Fits transformer to X and y with optional parameters fit_params and returns a transformed version of X. Parameters Xarray-like of shape (n_samples, n_features) Input samples. yarray-like of shape (n_samples,) or (n_samples, n_outputs), default=None Target values (None for uns...
doc_29774
See Migration guide for more details. tf.compat.v1.raw_ops.ResourceApplyAdagradV2 tf.raw_ops.ResourceApplyAdagradV2( var, accum, lr, epsilon, grad, use_locking=False, update_slots=True, name=None ) accum += grad * grad var -= lr * grad * (1 / (sqrt(accum) + epsilon)) Args var A Tensor of type resource. ...
doc_29775
Restore the original view. For convenience of being directly connected as a GUI callback, which often get passed additional parameters, this method accepts arbitrary parameters, but does not use them.
doc_29776
A subclass of ConnectionError, raised when trying to write on a pipe while the other end has been closed, or trying to write on a socket which has been shutdown for writing. Corresponds to errno EPIPE and ESHUTDOWN.
doc_29777
The Font class represents a named font. Font instances are given unique names and can be specified by their family, size, and style configuration. Named fonts are Tk’s method of creating and identifying fonts as a single object, rather than specifying a font by its attributes with each occurrence. arguments: additional...
doc_29778
tf.compat.v1.train.generate_checkpoint_state_proto( save_dir, model_checkpoint_path, all_model_checkpoint_paths=None, all_model_checkpoint_timestamps=None, last_preserved_timestamp=None ) Args save_dir Directory where the model was saved. model_checkpoint_path The checkpoint file. all_model_...
doc_29779
A bytes object that contains any data that was not consumed by the last decompress() call because it exceeded the limit for the uncompressed data buffer. This data has not yet been seen by the zlib machinery, so you must feed it (possibly with further data concatenated to it) back to a subsequent decompress() method ca...
doc_29780
Roll provided date backward to next offset only if not on offset. Returns TimeStamp Rolled timestamp if not on offset, otherwise unchanged timestamp.
doc_29781
The same as imap() except that the ordering of the results from the returned iterator should be considered arbitrary. (Only when there is only one worker process is the order guaranteed to be “correct”.)
doc_29782
test if a type of event is blocked from the queue get_blocked(type) -> bool get_blocked(typelist) -> bool Returns True if the given event type is blocked from the queue. If a sequence of event types is passed, this will return True if any of those event types are blocked.
doc_29783
Return the AxisInfo for unit. unit is a tzinfo instance or None. The axis argument is required but not used.
doc_29784
'DEFAULT_PAGINATION_CLASS': 'rest_framework.pagination.LimitOffsetPagination', 'PAGE_SIZE': 100 } Note that you need to set both the pagination class, and the page size that should be used. Both DEFAULT_PAGINATION_CLASS and PAGE_SIZE are None by default. You can also set the pagination class on an individual v...
doc_29785
Roll provided date forward to next offset only if not on offset.
doc_29786
A subclass of GeoModelAdmin that uses a Spherical Mercator projection with OpenStreetMap street data tiles. Deprecated since version 4.0: This class is deprecated. Use GISModelAdmin instead.
doc_29787
Just like a ChoiceField, except TypedChoiceField takes two extra arguments, coerce and empty_value. Default widget: Select Empty value: Whatever you’ve given as empty_value. Normalizes to: A value of the type provided by the coerce argument. Validates that the given value exists in the list of choices and can be coer...
doc_29788
Specify the size in bytes of audio samples.
doc_29789
See Migration guide for more details. tf.compat.v1.linalg.lu tf.linalg.lu( input, output_idx_type=tf.dtypes.int32, name=None ) The input is a tensor of shape [..., M, M] whose inner-most 2 dimensions form square matrices. The input has to be invertible. The output consists of two tensors LU and P containing the ...
doc_29790
Perform flood filling on an image. Starting at a specific seed_point, connected points equal or within tolerance of the seed value are found, then set to new_value. Parameters imagendarray An n-dimensional array. seed_pointtuple or int The point in image used as the starting point for the flood fill. If the...
doc_29791
Return whether the artist is animated.
doc_29792
Maximum likelihood covariance estimator Read more in the User Guide. Parameters store_precisionbool, default=True Specifies if the estimated precision is stored. assume_centeredbool, default=False If True, data are not centered before computation. Useful when working with data whose mean is almost, but not ...
doc_29793
set the color palette for an 8-bit Surface set_palette([RGB, RGB, RGB, ...]) -> None Set the full palette for an 8-bit Surface. This will replace the colors in the existing palette. A partial palette can be passed and only the first colors in the original palette will be changed. This function has no effect on a Surf...
doc_29794
Normalize value data in the [vmin, vmax] interval into the [0.0, 1.0] interval and return it. Parameters value Data to normalize. clipbool If None, defaults to self.clip (which defaults to False). Notes If not already initialized, self.vmin and self.vmax are initialized using self.autoscale_None(value).
doc_29795
See Migration guide for more details. tf.compat.v1.raw_ops.SdcaFprint tf.raw_ops.SdcaFprint( input, name=None ) Args input A Tensor of type string. vector of strings to compute fingerprints on. name A name for the operation (optional). Returns A Tensor of type int64.
doc_29796
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_29797
Replace values where the condition is False. Parameters cond:bool Series/DataFrame, array-like, or callable Where cond is True, keep the original value. Where False, replace with corresponding value from other. If cond is callable, it is computed on the Series/DataFrame and should return boolean Series/DataFram...
doc_29798
empty sequences and collections: '', (), [], {}, set(), range(0) Operations and built-in functions that have a Boolean result always return 0 or False for false and 1 or True for true, unless otherwise stated. (Important exception: the Boolean operations or and and always return one of their operands.) Boolean Opera...
doc_29799
Returns whether the kernel is stationary.