_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_20200 | EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks (ICML 2019) Functions EfficientNetB0(...): Instantiates the EfficientNetB0 architecture. EfficientNetB1(...): Instantiates the EfficientNetB1 architecture. EfficientNetB2(...): Instantiates the EfficientNetB2 architecture. EfficientNetB3(...): In... | |
doc_20201 |
Display filtered image as an overlay on top of image in viewer. | |
doc_20202 | sklearn.decomposition.fastica(X, n_components=None, *, algorithm='parallel', whiten=True, fun='logcosh', fun_args=None, max_iter=200, tol=0.0001, w_init=None, random_state=None, return_X_mean=False, compute_sources=True, return_n_iter=False) [source]
Perform Fast Independent Component Analysis. Read more in the User ... | |
doc_20203 |
Clear the axis. This resets axis properties to their default values: the label the scale locators, formatters and ticks major and minor grid units registered callbacks | |
doc_20204 |
Abstract base class for creation of new pruning techniques. Provides a skeleton for customization requiring the overriding of methods such as compute_mask() and apply().
classmethod apply(module, name, *args, importance_scores=None, **kwargs) [source]
Adds the forward pre-hook that enables pruning on the fly and ... | |
doc_20205 |
Return values at the given quantile over requested axis. Parameters
q:float or array-like, default 0.5 (50% quantile)
Value between 0 <= q <= 1, the quantile(s) to compute.
axis:{0, 1, ‘index’, ‘columns’}, default 0
Equals 0 or ‘index’ for row-wise, 1 or ‘columns’ for column-wise.
numeric_only:bool, defau... | |
doc_20206 | An abstract base class representing a meta path finder. For compatibility, this is a subclass of Finder. New in version 3.3.
find_spec(fullname, path, target=None)
An abstract method for finding a spec for the specified module. If this is a top-level import, path will be None. Otherwise, this is a search for a su... | |
doc_20207 | Get Mac OS version information and return it as tuple (release, versioninfo,
machine) with versioninfo being a tuple (version, dev_stage,
non_release_version). Entries which cannot be determined are set to ''. All tuple entries are strings. | |
doc_20208 | See torch.unsqueeze() | |
doc_20209 |
Samples elements from [0,..,len(weights)-1] with given probabilities (weights). Parameters
weights (sequence) – a sequence of weights, not necessary summing up to one
num_samples (int) – number of samples to draw
replacement (bool) – if True, samples are drawn with replacement. If not, they are drawn without re... | |
doc_20210 | bytearray.rindex(sub[, start[, end]])
Like rfind() but raises ValueError when the subsequence sub is not found. The subsequence to search for may be any bytes-like object or an integer in the range 0 to 255. Changed in version 3.3: Also accept an integer in the range 0 to 255 as the subsequence. | |
doc_20211 | Return non-zero if the mode is from a block special device file. | |
doc_20212 | Returns True if the given object has been finalized by the garbage collector, False otherwise. >>> x = None
>>> class Lazarus:
... def __del__(self):
... global x
... x = self
...
>>> lazarus = Lazarus()
>>> gc.is_finalized(lazarus)
False
>>> del lazarus
>>> gc.is_finalized(x)
True
New in version ... | |
doc_20213 | International Atomic Time The system must have a current leap second table in order for this to give the correct answer. PTP or NTP software can maintain a leap second table. Availability: Linux. New in version 3.9. | |
doc_20214 | Change the system image for the display window set_icon(Surface) -> None Sets the runtime icon the system will use to represent the display window. All windows default to a simple pygame logo for the window icon. You can pass any surface, but most systems want a smaller image around 32x32. The image can have colorkey... | |
doc_20215 |
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_20216 |
Perform round operation on the data to the specified freq. Parameters
freq:str or Offset
The frequency level to round the index to. Must be a fixed frequency like ‘S’ (second) not ‘ME’ (month end). See frequency aliases for a list of possible freq values.
ambiguous:‘infer’, bool-ndarray, ‘NaT’, default ‘raise... | |
doc_20217 | Return a Boolean value, i.e. one of True or False. x is converted using the standard truth testing procedure. If x is false or omitted, this returns False; otherwise it returns True. The bool class is a subclass of int (see Numeric Types — int, float, complex). It cannot be subclassed further. Its only instances are Fa... | |
doc_20218 |
Return the label from the index, or, if not present, the previous one. Assuming that the index is sorted, return the passed index label if it is in the index, or return the previous index label if the passed one is not in the index. Parameters
label:object
The label up to which the method returns the latest ind... | |
doc_20219 | The LabelFrame widget packages a frame widget and a label into one mega widget. To create widgets inside a LabelFrame widget, one creates the new widgets relative to the frame subwidget and manage them inside the frame subwidget. | |
doc_20220 | This class may be initialized from bytes data (which may include NULs). The primary access to the content of a Binary object is provided by an attribute:
data
The binary data encapsulated by the Binary instance. The data is provided as a bytes object.
Binary objects have the following methods, supported mainly fo... | |
doc_20221 | Divide the given string into examples and intervening text, and return them as a list of alternating Examples and strings. Line numbers for the Examples are 0-based. The optional argument name is a name identifying this string, and is only used for error messages. | |
doc_20222 | Base class for binary streams that support some kind of buffering. It inherits IOBase. There is no public constructor. The main difference with RawIOBase is that methods read(), readinto() and write() will try (respectively) to read as much input as requested or to consume all given output, at the expense of making per... | |
doc_20223 |
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_20224 |
Alias for set_verticalalignment. | |
doc_20225 | Path to a custom template that will be used by the admin site password change done view. | |
doc_20226 | The platform does not provide information on whether the UUID was generated safely or not. | |
doc_20227 |
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_20228 |
Set the sizes of each member of the collection. Parameters
sizesndarray or None
The size to set for each element of the collection. The value is the 'area' of the element.
dpifloat, default: 72
The dpi of the canvas. | |
doc_20229 |
Truncate series to the given degree. Reduce the degree of the series to deg by discarding the high order terms. If deg is greater than the current degree a copy of the current series is returned. This can be useful in least squares where the coefficients of the high degree terms may be very small. New in version 1.5... | |
doc_20230 | Return True if the object is a method descriptor, but not if ismethod(), isclass(), isfunction() or isbuiltin() are true. This, for example, is true of int.__add__. An object passing this test has a __get__() method but not a __set__() method, but beyond that the set of attributes varies. A __name__ attribute is usuall... | |
doc_20231 |
Alias for get_edgecolor. | |
doc_20232 |
Generate an array with block checkerboard structure for biclustering. Read more in the User Guide. Parameters
shapetuple of shape (n_rows, n_cols)
The shape of the result.
n_clustersint or array-like or shape (n_row_clusters, n_column_clusters)
The number of row and column clusters.
noisefloat, default=0.... | |
doc_20233 | The browser name, if it could be parsed from the string. | |
doc_20234 |
Gaussian process regression (GPR). The implementation is based on Algorithm 2.1 of Gaussian Processes for Machine Learning (GPML) by Rasmussen and Williams. In addition to standard scikit-learn estimator API, GaussianProcessRegressor: allows prediction without prior fitting (based on the GP prior) provides an additi... | |
doc_20235 |
Identity function. If p is the returned series, then p(x) == x for all values of x. Parameters
domain{None, array_like}, optional
If given, the array must be of the form [beg, end], where beg and end are the endpoints of the domain. If None is given then the class domain is used. The default is None.
window{N... | |
doc_20236 | tf.compat.v1.losses.cosine_distance(
labels, predictions, axis=None, weights=1.0, scope=None,
loss_collection=tf.GraphKeys.LOSSES, reduction=Reduction.SUM_BY_NONZERO_WEIGHTS,
dim=None
)
Warning: SOME ARGUMENTS ARE DEPRECATED: (dim). They will be removed in a future version. Instructions for updating: dim i... | |
doc_20237 | Creates a new Decimal instance from a float f but rounding using self as the context. Unlike the Decimal.from_float() class method, the context precision, rounding method, flags, and traps are applied to the conversion. >>> context = Context(prec=5, rounding=ROUND_DOWN)
>>> context.create_decimal_from_float(math.pi)
De... | |
doc_20238 | Uses the same logic as __getitem__(), with a hook for returning a default value if the key doesn’t exist. | |
doc_20239 | See Migration guide for more details. tf.compat.v1.raw_ops.FilterByLastComponentDataset
tf.raw_ops.FilterByLastComponentDataset(
input_dataset, output_types, output_shapes, name=None
)
Args
input_dataset A Tensor of type variant.
output_types A list of tf.DTypes that has length >= 1.
output_sh... | |
doc_20240 |
Return a frozen copy of this transform node. The frozen copy will not be updated when its children change. Useful for storing a previously known state of a transform where copy.deepcopy() might normally be used. | |
doc_20241 |
Convert a LineCollection to a Line3DCollection object. | |
doc_20242 | Return data for response code if received, or None. Returns the given code, instead of the usual type. | |
doc_20243 |
Return the yaxis' major tick labels, as a list of Text. | |
doc_20244 | Computes the element-wise logical XOR of the given input tensors. Zeros are treated as False and nonzeros are treated as True. Parameters
input (Tensor) – the input tensor.
other (Tensor) – the tensor to compute XOR with Keyword Arguments
out (Tensor, optional) – the output tensor. Example: >>> torch.logical_... | |
doc_20245 |
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_20246 | tf.experimental.numpy.pad(
array, pad_width, mode, **kwargs
)
Only supports modes 'constant', 'reflect' and 'symmetric' currently. See the NumPy documentation for numpy.pad. | |
doc_20247 |
Alias for set_edgecolor. | |
doc_20248 | Transform a method into a single-dispatch generic function. To define a generic method, decorate it with the @singledispatchmethod decorator. Note that the dispatch happens on the type of the first non-self or non-cls argument, create your function accordingly: class Negator:
@singledispatchmethod
def neg(self,... | |
doc_20249 |
Complex-conjugate all elements. Refer to numpy.conjugate for full documentation. See also numpy.conjugate
equivalent function | |
doc_20250 |
Return self&value. | |
doc_20251 | Check if the fault handler is enabled. | |
doc_20252 | tf.image.stateless_random_hue(
image, max_delta, seed
)
Equivalent to adjust_hue() but uses a delta randomly picked in the interval [-max_delta, max_delta). Guarantees the same results given the same seed independent of how many times the function is called, and independent of global seed settings (e.g. tf.random.... | |
doc_20253 |
A placeholder identity operator that is argument-insensitive. Parameters
args – any argument (unused)
kwargs – any keyword argument (unused) Examples: >>> m = nn.Identity(54, unused_argument1=0.1, unused_argument2=False)
>>> input = torch.randn(128, 20)
>>> output = m(input)
>>> print(output.size())
torch.Siz... | |
doc_20254 | Raised by methods with a timeout when the timeout expires. | |
doc_20255 |
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_20256 | '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_20257 | Returns an importlib.resources.abc.Traversable object representing the resource container for the package (think directory) and its resources (think files). A Traversable may contain other containers (think subdirectories). package is either a name or a module object which conforms to the Package requirements. New in ... | |
doc_20258 |
Return the corresponding inverse transformation. It holds x == self.inverted().transform(self.transform(x)). The return value of this method should be treated as temporary. An update to self does not cause a corresponding update to its inverted copy. | |
doc_20259 |
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_20260 |
If minor ticker locations that overlap with major ticker locations should be trimmed. | |
doc_20261 |
Draw a Path instance using the given affine transform. | |
doc_20262 | Checks for an ASCII hexadecimal digit. This is equivalent to c in
string.hexdigits. | |
doc_20263 | Whether line buffering is enabled. | |
doc_20264 | tf.compat.v1.nn.rnn_cell.MultiRNNCell(
cells, state_is_tuple=True
)
Example: num_units = [128, 64]
cells = [BasicLSTMCell(num_units=n) for n in num_units]
stacked_rnn_cell = MultiRNNCell(cells)
Args
cells list of RNNCells that will be composed in this order.
state_is_tuple If True, accepted and ret... | |
doc_20265 | AxesGrid alias of mpl_toolkits.axes_grid1.axes_grid.ImageGrid
CbarAxes(*args, orientation, **kwargs) [Deprecated]
CbarAxesBase(*args, orientation, **kwargs)
Grid(fig, rect, nrows_ncols[, ngrids, ...]) A grid of Axes.
ImageGrid(fig, rect, nrows_ncols[, ngrids, ...])
Parameters | |
doc_20266 |
Hermite series whose graph is a straight line. Parameters
off, sclscalars
The specified line is given by off + scl*x. Returns
yndarray
This module’s representation of the Hermite series for off + scl*x. See also numpy.polynomial.polynomial.polyline
numpy.polynomial.chebyshev.chebline
numpy.polynom... | |
doc_20267 |
Return the label used for this artist in the legend. | |
doc_20268 |
Return the dimension and location of the curve's interior extrema. The extrema are the points along the curve where one of its partial derivatives is zero. Returns
dimsarray of int
Index \(i\) of the partial derivative which is zero at each interior extrema.
dzerosarray of float
Of same size as dims. The \(... | |
doc_20269 |
Computes the sum of gradients of given tensors w.r.t. graph leaves. The graph is differentiated using the chain rule. If any of tensors are non-scalar (i.e. their data has more than one element) and require gradient, then the Jacobian-vector product would be computed, in this case the function additionally requires s... | |
doc_20270 | The canonical way to decorate class-based views is to decorate the return value of as_view(). However since this moves parts of the logic from the class declaration to the place where it’s hooked into the routing system. You can place one or more decorators in this list and whenever the view function is created the res... | |
doc_20271 | See torch.logical_xor() | |
doc_20272 |
Suppress whole columns of a 2-D array that contain masked values. This is equivalent to np.ma.compress_rowcols(a, 1), see compress_rowcols for details. See also compress_rowcols | |
doc_20273 | get all events from the queue get() -> list of Events This will get all the messages and remove them from the queue. | |
doc_20274 |
The number of input dimensions of this transform. Must be overridden (with integers) in the subclass. | |
doc_20275 |
Draw samples from a logistic distribution. Samples are drawn from a logistic distribution with specified parameters, loc (location or mean, also median), and scale (>0). Note New code should use the logistic method of a default_rng() instance instead; please see the Quick Start. Parameters
locfloat or array_lik... | |
doc_20276 |
Returns a field of the given array as a certain type. A field is a view of the array data with a given data-type. The values in the view are determined by the given type and the offset into the current array in bytes. The offset needs to be such that the view dtype fits in the array dtype; for example an array of dty... | |
doc_20277 |
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_20278 |
Runs various checks on this Graph to make sure it is well-formed. In particular: - Checks Nodes have correct ownership (owned by this graph) - Checks Nodes appear in topological order - If root is provided, checks that targets exist in root Parameters
root (Optional[torch.nn.Module]) – The root module with which to... | |
doc_20279 | '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_20280 | Convert binary data to a line(s) of ASCII characters in quoted-printable encoding. The return value is the converted line(s). If the optional argument quotetabs is present and true, all tabs and spaces will be encoded. If the optional argument istext is present and true, newlines are not encoded but trailing whitespace... | |
doc_20281 |
Return the Figure instance the artist belongs to. | |
doc_20282 |
Plot the angle spectrum. Compute the angle spectrum (wrapped phase spectrum) of x. Data is padded to a length of pad_to and the windowing function window is applied to the signal. Parameters
x1-D array or sequence
Array or sequence containing the data.
Fsfloat, default: 2
The sampling frequency (samples per... | |
doc_20283 |
Return a match score between style1 and style2. An exact match returns 0.0. A match between 'italic' and 'oblique' returns 0.1. No match returns 1.0. | |
doc_20284 |
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
antialiased or aa bool or None
bounds unknown
boxstyle [ 'square' | 'circle... | |
doc_20285 |
Compute the decision function of X. Parameters
X{array-like or 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
scorearray, shape = [n_samples, n_classes] or [n_samples... | |
doc_20286 | tf.compat.v1.reverse_sequence(
input, seq_lengths, seq_axis=None, batch_axis=None, name=None, seq_dim=None,
batch_dim=None
)
Warning: SOME ARGUMENTS ARE DEPRECATED: (seq_dim). They will be removed in a future version. Instructions for updating: seq_dim is deprecated, use seq_axis insteadWarning: SOME ARGUMENTS... | |
doc_20287 |
Convert a polynomial to a Hermite series. Convert an array representing the coefficients of a polynomial (relative to the “standard” basis) ordered from lowest degree to highest, to an array of the coefficients of the equivalent Hermite series, ordered from lowest to highest degree. Parameters
polarray_like
1-D... | |
doc_20288 |
Spawn a number of child SeedSequence s by extending the spawn_key. Parameters
n_childrenint
Returns
seqslist of SeedSequence s | |
doc_20289 | The most positive timedelta object, timedelta(days=999999999,
hours=23, minutes=59, seconds=59, microseconds=999999). | |
doc_20290 |
Replace NaN with zero and infinity with large finite numbers (default behaviour) or with the numbers defined by the user using the nan, posinf and/or neginf keywords. If x is inexact, NaN is replaced by zero or by the user defined value in nan keyword, infinity is replaced by the largest finite floating point values ... | |
doc_20291 |
Warning raised when reading a file that doesn’t use the default ‘c’ parser. Raised by pd.read_csv and pd.read_table when it is necessary to change parsers, generally from the default ‘c’ parser to ‘python’. It happens due to a lack of support or functionality for parsing a particular attribute of a CSV file with the ... | |
doc_20292 | The major version number as an integer | |
doc_20293 | tf.compat.v1.image.resize_bicubic(
images, size, align_corners=False, name=None, half_pixel_centers=False
) | |
doc_20294 |
Return the boxstyle object. | |
doc_20295 | Create and return a new element node. The element is not inserted into the document when it is created. You need to explicitly insert it with one of the other methods such as insertBefore() or appendChild(). | |
doc_20296 |
Perform a straight line Hough transform. Parameters
image(M, N) ndarray
Input image with nonzero values representing edges.
theta1D ndarray of double, optional
Angles at which to compute the transform, in radians. Defaults to a vector of 180 angles evenly spaced from -pi/2 to pi/2. Returns
hspace2-D n... | |
doc_20297 | tf.compat.v1.is_variable_initialized(
variable
)
Args
variable A Variable.
Returns Returns a scalar boolean Tensor, True if the variable has been initialized, False otherwise.
Note: The output of this function should be used. If it is not, a warning will be logged or an error may be raised. ... | |
doc_20298 | This class builds on the TCPServer class by storing the server address as instance variables named server_name and server_port. The server is accessible by the handler, typically through the handler’s server instance variable. | |
doc_20299 | gettext.bindtextdomain(domain, localedir=None)
Bind the domain to the locale directory localedir. More concretely, gettext will look for binary .mo files for the given domain using the path (on Unix): localedir/language/LC_MESSAGES/domain.mo, where language is searched for in the environment variables LANGUAGE, LC_AL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.