_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_24200 | See Migration guide for more details. tf.compat.v1.signal.mfccs_from_log_mel_spectrograms
tf.signal.mfccs_from_log_mel_spectrograms(
log_mel_spectrograms, name=None
)
Implemented with GPU-compatible ops and supports gradients. Mel-Frequency Cepstral Coefficient (MFCC) calculation consists of taking the DCT-II of... | |
doc_24201 | sklearn.utils.as_float_array(X, *, copy=True, force_all_finite=True) [source]
Converts an array-like to an array of floats. The new dtype will be np.float32 or np.float64, depending on the original type. The function can create a copy or modify the argument depending on the argument copy. Parameters
X{array-like,... | |
doc_24202 |
Return the tight bounding box of the axes, including axis and their decorators (xlabel, title, etc). Artists that have artist.set_in_layout(False) are not included in the bbox. Parameters
rendererRendererBase subclass
renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer())
bbox_extra_a... | |
doc_24203 | This read-only attribute represents the URL the response will redirect to (equivalent to the Location response header). | |
doc_24204 |
Bases: matplotlib.mathtext.MathtextBackendAgg [Deprecated] Notes Deprecated since version 3.4: get_results(box, used_characters)[source]
Return a backend-specific tuple to return to the backend after all processing is done. | |
doc_24205 | Returns a logger which is a descendant to this logger, as determined by the suffix. Thus, logging.getLogger('abc').getChild('def.ghi') would return the same logger as would be returned by logging.getLogger('abc.def.ghi'). This is a convenience method, useful when the parent logger is named using e.g. __name__ rather th... | |
doc_24206 |
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_24207 |
Bases: mpl_toolkits.axes_grid1.inset_locator.AnchoredLocatorBase Parameters
locstr
The box location. Valid locations are 'upper left', 'upper center', 'upper right', 'center left', 'center', 'center right', 'lower left', 'lower center, 'lower right'. For backward compatibility, numeric values are accepted as we... | |
doc_24208 | Same as equivalent method in the Document class. | |
doc_24209 | Boolean indicating whether the device has been closed. | |
doc_24210 | See torch.transpose() | |
doc_24211 |
Draw histogram of the input series using matplotlib. Parameters
by:object, optional
If passed, then used to form histograms for separate groups.
ax:matplotlib axis object
If not passed, uses gca().
grid:bool, default True
Whether to show axis grid lines.
xlabelsize:int, default None
If specified cha... | |
doc_24212 |
Given a sequence of Paths, Transforms objects, and offsets, as found in a PathCollection, returns the bounding box that encapsulates all of them. Parameters
master_transformTransform
Global transformation applied to all paths.
pathslist of Path
transformslist of Affine2D
offsets(N, 2) array-like
offset_... | |
doc_24213 |
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_24214 |
Convert an image to 16-bit unsigned integer format. Parameters
imagendarray
Input image.
force_copybool, optional
Force a copy of the data, irrespective of its current dtype. Returns
outndarray of uint16
Output image. Notes Negative input values will be clipped. Positive values are scaled betwee... | |
doc_24215 |
ss = SeedSequence(12345)
# Spawn off 10 child SeedSequences to pass to child processes.
child_seeds = ss.spawn(10)
streams = [default_rng(s) for s in child_seeds]
Child SeedSequence objects can also spawn to make grandchildren, and so on. Each SeedSequence has its position in the tree of spawned SeedSequence objects... | |
doc_24216 | The directory b. | |
doc_24217 | Similar to TimeInput.format | |
doc_24218 |
Draw streamlines of a vector flow. Parameters
x, y1D/2D arrays
Evenly spaced strictly increasing arrays to make a grid. If 2D, all rows of x must be equal and all columns of y must be equal; i.e., they must be as if generated by np.meshgrid(x_1d, y_1d).
u, v2D arrays
x and y-velocities. The number of rows a... | |
doc_24219 | Renders a response, providing the invalid form as context. | |
doc_24220 | Returns the maximum value of each slice of the input tensor in the given dimension(s) dim. Note
The difference between max/min and amax/amin is:
amax/amin supports reducing on multiple dimensions,
amax/amin does not return indices,
amax/amin evenly distributes gradient between equal values, while max(dim)/min(... | |
doc_24221 |
Compute the outer product of two vectors. Given two vectors, a = [a0, a1, ..., aM] and b = [b0, b1, ..., bN], the outer product [1] is: [[a0*b0 a0*b1 ... a0*bN ]
[a1*b0 .
[ ... .
[aM*b0 aM*bN ]]
Parameters
a(M,) array_like
First input vector. Input is flattened if not already 1-dimen... | |
doc_24222 |
Parameters
usetexbool or None
Whether to render using TeX, None means to use rcParams["text.usetex"] (default: False). | |
doc_24223 |
Return the bool of a single element Series or DataFrame. This must be a boolean scalar value, either True or False. It will raise a ValueError if the Series or DataFrame does not have exactly 1 element, or that element is not boolean (integer values 0 and 1 will also raise an exception). Returns
bool
The value in... | |
doc_24224 |
Return the indices of the elements that are non-zero. Refer to numpy.nonzero for full documentation. See also numpy.nonzero
equivalent function | |
doc_24225 | Same as gettempdir() but the return value is in bytes. New in version 3.5. | |
doc_24226 |
Test element-wise for NaT (not a time) and return result as a boolean array. New in version 1.13.0. Parameters
xarray_like
Input array with datetime or timedelta data type.
outndarray, None, or tuple of ndarray and None, optional
A location into which the result is stored. If provided, it must have a shap... | |
doc_24227 |
Roll provided date backward to next offset only if not on offset. | |
doc_24228 | Post an article using the POST command. The data argument is either a file object opened for binary reading, or any iterable of bytes objects (representing raw lines of the article to be posted). It should represent a well-formed news article, including the required headers. The post() method automatically escapes line... | |
doc_24229 | See Migration guide for more details. tf.compat.v1.train.Int64List
Attributes
value repeated int64 value | |
doc_24230 |
Get parameters for this estimator. Parameters
deepbool, default=True
If True, will return the parameters for this estimator and contained subobjects that are estimators. Returns
paramsdict
Parameter names mapped to their values. | |
doc_24231 | >>> clear_part, encrypted_part, finale = font.parts
>>> slanted_font = font.transform({'slant': 0.167})
>>> extended_font = font.transform({'extend': 1.2})
Sources: Adobe Technical Note #5040, Supporting Downloadable PostScript Language Fonts. Adobe Type 1 Font Format, Adobe Systems Incorporated, third printing, v1.1... | |
doc_24232 | Return True if the object is a Python function, which includes functions created by a lambda expression. | |
doc_24233 |
An ExtensionArray for storing sparse data. Parameters
data:array-like or scalar
A dense array of values to store in the SparseArray. This may contain fill_value.
sparse_index:SparseIndex, optional
index:Index
Deprecated since version 1.4.0: Use a function like np.full to construct an array with the desir... | |
doc_24234 | logical_xor() is a logical operation which takes two logical operands (see Logical operands). The result is the digit-wise exclusive or of the two operands. | |
doc_24235 | Special reducer that can be defined in Pickler subclasses. This method has priority over any reducer in the dispatch_table. It should conform to the same interface as a __reduce__() method, and can optionally return NotImplemented to fallback on dispatch_table-registered reducers to pickle obj. For a detailed example, ... | |
doc_24236 | tf.compat.v1.data.experimental.CsvDataset(
filenames, record_defaults, compression_type=None, buffer_size=None,
header=False, field_delim=',', use_quote_delim=True,
na_value='', select_cols=None, exclude_cols=None
)
Args
filenames A tf.string tensor containing one or more filenames.
record_def... | |
doc_24237 | Returns the point of intersection overlap(othermask, offset) -> (x, y) overlap(othermask, offset) -> None Returns the first point of intersection encountered between this mask and othermask. A point of intersection is 2 overlapping set bits. The current algorithm searches the overlapping area in sizeof(unsigned long ... | |
doc_24238 | tf.keras.constraints.non_neg Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.constraints.NonNeg, tf.compat.v1.keras.constraints.non_neg Also available via the shortcut function tf.keras.constraints.non_neg. Methods get_config View source
get_config()
__call__ View source
__call... | |
doc_24239 |
Find all occurrences of pattern or regular expression in the Series/Index. Equivalent to applying re.findall() to all the elements in the Series/Index. Parameters
pat:str
Pattern or regular expression.
flags:int, default 0
Flags from re module, e.g. re.IGNORECASE (default is 0, which means no flags). Ret... | |
doc_24240 | class ast.NotEq
class ast.Lt
class ast.LtE
class ast.Gt
class ast.GtE
class ast.Is
class ast.IsNot
class ast.In
class ast.NotIn
Comparison operator tokens. | |
doc_24241 | A pickler object’s dispatch table is a registry of reduction functions of the kind which can be declared using copyreg.pickle(). It is a mapping whose keys are classes and whose values are reduction functions. A reduction function takes a single argument of the associated class and should conform to the same interface ... | |
doc_24242 | KDTree for fast generalized N-point problems Read more in the User Guide. Parameters
Xarray-like of shape (n_samples, n_features)
n_samples is the number of points in the data set, and n_features is the dimension of the parameter space. Note: if X is a C-contiguous array of doubles then data will not be copied. O... | |
doc_24243 | Get and remove an attribute by name. Like dict.pop(). Parameters
name (str) – Name of attribute to pop.
default (Any) – Value to return if the attribute is not present, instead of raising a KeyError. Return type
Any Changelog New in version 0.11. | |
doc_24244 | See torch.isclose() | |
doc_24245 |
Attributes
base Returns a copy of the calling offset object with n=1 and all other attributes equal.
delta
freqstr
kwds
n
name
nanos
normalize
rule_code Methods
__call__(*args, **kwargs) Call self as a function.
rollback Roll provided date backward to next offset onl... | |
doc_24246 | See Migration guide for more details. tf.compat.v1.raw_ops.TensorArrayCloseV3
tf.raw_ops.TensorArrayCloseV3(
handle, name=None
)
This enables the user to close and release the resource in the middle of a step/run.
Args
handle A Tensor of type resource. The handle to a TensorArray (output of TensorArray ... | |
doc_24247 |
Return whether the artist uses clipping. | |
doc_24248 | A bitmask or’ing together all the reporting flags above. | |
doc_24249 |
Perform a diameter opening of the image. Diameter opening removes all bright structures of an image with maximal extension smaller than diameter_threshold. The maximal extension is defined as the maximal extension of the bounding box. The operator is also called Bounding Box Opening. In practice, the result is simila... | |
doc_24250 | Call the get_content() method of the content_manager, passing self as the message object, and passing along any other arguments or keywords as additional arguments. If content_manager is not specified, use the content_manager specified by the current policy. | |
doc_24251 | Volume number of file header. | |
doc_24252 |
Set the linewidth(s) for the collection. lw can be a scalar or a sequence; if it is a sequence the patches will cycle through the sequence Parameters
lwfloat or list of floats | |
doc_24253 |
Force the mask to hard. Whether the mask of a masked array is hard or soft is determined by its hardmask property. harden_mask sets hardmask to True. See also ma.MaskedArray.hardmask | |
doc_24254 | Returns a tuple of: [0] a pretty-printed representation (as valid Python syntax) of the internal graph for the forward method. See code. [1] a ConstMap following the CONSTANT.cN format of the output in [0]. The indices in the [0] output are keys to the underlying constant’s values. See Inspecting Code for details. | |
doc_24255 |
Return whether the artist is pickable. See also
set_picker, get_picker, pick | |
doc_24256 | sklearn.metrics.hinge_loss(y_true, pred_decision, *, labels=None, sample_weight=None) [source]
Average hinge loss (non-regularized). In binary class case, assuming labels in y_true are encoded with +1 and -1, when a prediction mistake is made, margin = y_true * pred_decision is always negative (since the signs disagr... | |
doc_24257 |
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_24258 |
Alias for set_markeredgewidth. | |
doc_24259 | class sklearn.gaussian_process.kernels.ConstantKernel(constant_value=1.0, constant_value_bounds=1e-05, 100000.0) [source]
Constant kernel. Can be used as part of a product-kernel where it scales the magnitude of the other factor (kernel) or as part of a sum-kernel, where it modifies the mean of the Gaussian process. ... | |
doc_24260 | Enable capability (see RFC 5161). Most capabilities do not need to be enabled. Currently only the UTF8=ACCEPT capability is supported (see RFC 6855). New in version 3.5: The enable() method itself, and RFC 6855 support. | |
doc_24261 |
Set the coordinate system to use for Annotation.xyann. See also xycoords in Annotation. | |
doc_24262 | Returns a tensor with the same size as input that is filled with random numbers from a normal distribution with mean 0 and variance 1. torch.randn_like(input) is equivalent to torch.randn(input.size(), dtype=input.dtype, layout=input.layout, device=input.device). Parameters
input (Tensor) – the size of input will det... | |
doc_24263 | Translate the host/port argument into a sequence of 5-tuples that contain all the necessary arguments for creating a socket connected to that service. host is a domain name, a string representation of an IPv4/v6 address or None. port is a string service name such as 'http', a numeric port number or None. By passing Non... | |
doc_24264 | socket.PF_CAN
SOL_CAN_*
CAN_*
Many constants of these forms, documented in the Linux documentation, are also defined in the socket module. Availability: Linux >= 2.6.25. New in version 3.3. | |
doc_24265 |
Reduce X to the selected features. Parameters
Xarray of shape [n_samples, n_features]
The input samples. Returns
X_rarray of shape [n_samples, n_selected_features]
The input samples with only the selected features. | |
doc_24266 | Analyze the given sample and return a Dialect subclass reflecting the parameters found. If the optional delimiters parameter is given, it is interpreted as a string containing possible valid delimiter characters. | |
doc_24267 | tf.compat.v1.nn.dynamic_rnn(
cell, inputs, sequence_length=None, initial_state=None, dtype=None,
parallel_iterations=None, swap_memory=False, time_major=False, scope=None
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please use keras.layers.RNN(cell)... | |
doc_24268 |
An array object represents a multidimensional, homogeneous array of fixed-size items. An associated data-type object describes the format of each element in the array (its byte-order, how many bytes it occupies in memory, whether it is an integer, a floating point number, or something else, etc.) Arrays should be con... | |
doc_24269 | tf.experimental.numpy.arcsinh(
x
)
Unsupported arguments: out, where, casting, order, dtype, subok, signature, extobj. See the NumPy documentation for numpy.arcsinh. | |
doc_24270 | The address of the server. (host, port), (path, None) for unix sockets, or None if not known. | |
doc_24271 | os.F_TLOCK
os.F_ULOCK
os.F_TEST
Flags that specify what action lockf() will take. Availability: Unix. New in version 3.3. | |
doc_24272 |
Sets the seed for generating random numbers to a non-deterministic random number. Returns a 64 bit number used to seed the RNG. | |
doc_24273 |
Check if the object can be compiled into a regex pattern instance. Parameters
obj:The object to check
Returns
is_regex_compilable:bool
Whether obj can be compiled as a regex pattern. Examples
>>> is_re_compilable(".*")
True
>>> is_re_compilable(1)
False | |
doc_24274 |
Determine all local maxima of the image. The local maxima are defined as connected sets of pixels with equal gray level strictly greater than the gray levels of all pixels in direct neighborhood of the set. The function labels the local maxima. Technically, the implementation is based on the max-tree representation o... | |
doc_24275 |
Dump the dataset in svmlight / libsvm file format. This format is a text-based format, with one sample per line. It does not store zero valued features hence is suitable for sparse dataset. The first element of each line can be used to store a target variable to predict. Parameters
X{array-like, sparse matrix} of... | |
doc_24276 | Filter on traces of memory blocks. See the fnmatch.fnmatch() function for the syntax of filename_pattern. The '.pyc' file extension is replaced with '.py'. Examples:
Filter(True, subprocess.__file__) only includes traces of the subprocess module
Filter(False, tracemalloc.__file__) excludes traces of the tracemalloc ... | |
doc_24277 |
Return the clipbox. | |
doc_24278 | Query the server’s capabilities as specified in RFC 2449. Returns a dictionary in the form {'name': ['param'...]}. New in version 3.4. | |
doc_24279 |
Return class labels or probabilities for X for each estimator. Parameters
X{array-like, sparse matrix} of shape (n_samples, n_features)
Training vectors, where n_samples is the number of samples and n_features is the number of features. Returns
y_predsndarray of shape (n_samples, n_estimators) or (n_sampl... | |
doc_24280 |
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_24281 | The full name of a template to use for generating a text/html multipart email with the password reset link. By default, HTML email is not sent. | |
doc_24282 |
Cast to PeriodArray/Index at a particular frequency. Converts DatetimeArray/Index to PeriodArray/Index. Parameters
freq:str or Offset, optional
One of pandas’ offset strings or an Offset object. Will be inferred by default. Returns
PeriodArray/Index
Raises
ValueError
When converting a DatetimeArray/In... | |
doc_24283 |
Pass a KeyEvent to all functions connected to key_press_event. | |
doc_24284 |
Add one Chebyshev series to another. Returns the sum of two Chebyshev series c1 + c2. The arguments are sequences of coefficients ordered from lowest order term to highest, i.e., [1,2,3] represents the series T_0 + 2*T_1 + 3*T_2. Parameters
c1, c2array_like
1-D arrays of Chebyshev series coefficients ordered fr... | |
doc_24285 | See Migration guide for more details. tf.compat.v1.data.experimental.snapshot
tf.data.experimental.snapshot(
path, compression='AUTO', reader_func=None, shard_func=None
)
The snapshot API allows users to transparently persist the output of their preprocessing pipeline to disk, and materialize the pre-processed d... | |
doc_24286 | Write the given bytes-like object, b, and return the number of bytes written (always equal to the length of b in bytes, since if the write fails an OSError will be raised). Depending on the actual implementation, these bytes may be readily written to the underlying stream, or held in a buffer for performance and latenc... | |
doc_24287 |
Set slider value to val. Parameters
valfloat | |
doc_24288 | Default configuration parameters. | |
doc_24289 |
Evaluate a 2-D Chebyshev series at points (x, y). This function returns the values: \[p(x,y) = \sum_{i,j} c_{i,j} * T_i(x) * T_j(y)\] The parameters x and y 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 conversion. In eithe... | |
doc_24290 |
Return Multiplication of series and other, element-wise (binary operator mul). Equivalent to series * other, but with support to substitute a fill_value for missing data in either one of the inputs. Parameters
other:Series or scalar value
fill_value:None or float value, default None (NaN)
Fill existing missin... | |
doc_24291 | If proxy = True, a model which subclasses another model will be treated as a proxy model. | |
doc_24292 | The default port for the HTTP protocol (always 80). | |
doc_24293 |
Return a flattened matrix. Refer to numpy.ravel for more documentation. Parameters
order{‘C’, ‘F’, ‘A’, ‘K’}, optional
The elements of m are read using this index order. ‘C’ means to index the elements in C-like order, with the last axis index changing fastest, back to the first axis index changing slowest. ‘F’... | |
doc_24294 | When this namespace is specified, the name string is a fully-qualified domain name. | |
doc_24295 |
Returns the average of the matrix elements along the given axis. Refer to numpy.mean for full documentation. See also numpy.mean
Notes Same as ndarray.mean except that, where that returns an ndarray, this returns a matrix object. Examples >>> x = np.matrix(np.arange(12).reshape((3, 4)))
>>> x
matrix([[ 0, 1, 2,... | |
doc_24296 |
Like Artist.get_window_extent, but includes any clipping. Parameters
rendererRendererBase subclass
renderer that will be used to draw the figures (i.e. fig.canvas.get_renderer()) Returns
Bbox
The enclosing bounding box (in figure pixel coordinates). | |
doc_24297 |
Convert strings in the Series/Index to be swapcased. Equivalent to str.swapcase(). Returns
Series or Index of object
See also Series.str.lower
Converts all characters to lowercase. Series.str.upper
Converts all characters to uppercase. Series.str.title
Converts first character of each word to uppercase a... | |
doc_24298 | See Migration guide for more details. tf.compat.v1.app.flags.text_wrap
tf.compat.v1.flags.text_wrap(
text, length=None, indent='', firstline_indent=None
)
It turns lines that only contain whitespace into empty lines, keeps new lines, and expands tabs using 4 spaces.
Args
text str, text to wrap.
leng... | |
doc_24299 | See Migration guide for more details. tf.compat.v1.data.experimental.make_saveable_from_iterator
tf.data.experimental.make_saveable_from_iterator(
iterator, external_state_policy='fail'
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: make_saveable_from_i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.