_id stringlengths 5 9 | text stringlengths 5 385k | title stringclasses 1
value |
|---|---|---|
doc_6200 | In-place version of asinh() | |
doc_6201 | Exception when a node does not exist in the referenced context. For example, NamedNodeMap.removeNamedItem() will raise this if the node passed in does not exist in the map. | |
doc_6202 |
Plot visualization. Extra keyword arguments will be passed to matplotlib’s plot. Parameters
axMatplotlib Axes, default=None
Axes object to plot on. If None, a new figure and axes is created.
namestr, default=None
Name of precision recall curve for labeling. If None, use the name of the estimator.
**kwargs... | |
doc_6203 |
Apply inverse transformation. Parameters
coords(N, 2) array
Destination coordinates. Returns
coords(N, 3) array
Epipolar lines in the source image. | |
doc_6204 |
Set whether the artist uses clipping. When False artists will be visible outside of the axes which can lead to unexpected results. Parameters
bbool | |
doc_6205 | The raw version number of the OpenSSL library, as a single integer: >>> ssl.OPENSSL_VERSION_NUMBER
268443839
>>> hex(ssl.OPENSSL_VERSION_NUMBER)
'0x100020bf'
New in version 3.2. | |
doc_6206 | Returns True if the user has any permissions in the given package (the Django app label). If the user is inactive, this method will always return False. For an active superuser, this method will always return True. | |
doc_6207 | Send a simple command string to the server and return the response string. Raises an auditing event ftplib.sendcmd with arguments self, cmd. | |
doc_6208 | operator.__rshift__(a, b)
Return a shifted right by b. | |
doc_6209 | See Migration guide for more details. tf.compat.v1.keras.models.model_from_json
tf.keras.models.model_from_json(
json_string, custom_objects=None
)
Usage:
model = tf.keras.Sequential([
tf.keras.layers.Dense(5, input_shape=(3,)),
tf.keras.layers.Softmax()])
config = model.to_json()
loaded_model = tf.kera... | |
doc_6210 | Repr.maxlist
Repr.maxtuple
Repr.maxset
Repr.maxfrozenset
Repr.maxdeque
Repr.maxarray
Limits on the number of entries represented for the named object type. The default is 4 for maxdict, 5 for maxarray, and 6 for the others. | |
doc_6211 | tf.compat.v1.disable_v2_behavior()
This function can be called at the beginning of the program (before Tensors, Graphs or other structures have been created, and before devices have been initialized. It switches all global behaviors that are different between TensorFlow 1.x and 2.x to behave as intended for 1.x. User ... | |
doc_6212 | Indicate that the num screen lines, starting at line beg, are corrupted and should be completely redrawn on the next refresh() call. | |
doc_6213 | Return the Euclidean norm, sqrt(sum(x**2 for x in coordinates)). This is the length of the vector from the origin to the point given by the coordinates. For a two dimensional point (x, y), this is equivalent to computing the hypotenuse of a right triangle using the Pythagorean theorem, sqrt(x*x + y*y). Changed in vers... | |
doc_6214 |
Warning for attribute conflicts in accessor registration. | |
doc_6215 | Computes the dot product for 1D tensors. For higher dimensions, sums the product of elements from input and other along their last dimension. Note If either input or other is a scalar, the result is equivalent to torch.mul(input, other). If both input and other are non-scalars, the size of their last dimension must ma... | |
doc_6216 |
Set the path effects. Parameters
path_effectsAbstractPathEffect | |
doc_6217 |
Return x, y values at equally spaced points in domain. Returns the x, y values at n linearly spaced points across the domain. Here y is the value of the polynomial at the points x. By default the domain is the same as that of the series instance. This method is intended mostly as a plotting aid. New in version 1.5.0... | |
doc_6218 | New in Django 4.0. The render method is called by __str__ as well as by the as_ul() method. All arguments are optional and will default to:
template_name: Value returned by template_name
context: Value returned by get_context()
renderer: Value returned by renderer | |
doc_6219 | See Migration guide for more details. tf.compat.v1.raw_ops.LoadTPUEmbeddingRMSPropParameters
tf.raw_ops.LoadTPUEmbeddingRMSPropParameters(
parameters, ms, mom, num_shards, shard_id, table_id=-1, table_name='',
config='', name=None
)
An op that loads optimization parameters into HBM for embedding. Must be pre... | |
doc_6220 | Replace history item specified by its position with line. The position is zero-based. This calls replace_history_entry() in the underlying library. | |
doc_6221 |
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_6222 | Set the instance’s debugging level. This controls the amount of debugging output printed. The default, 0, produces no debugging output. A value of 1 produces a moderate amount of debugging output, generally a single line per request. A value of 2 or higher produces the maximum amount of debugging output, logging each l... | |
doc_6223 | Returns True if the data type of self is a floating point data type. | |
doc_6224 | Map a 3d array into a 2d array map_array(Surface, array3d) -> array2d Convert a 3D array into a 2D array. This will use the given Surface format to control the conversion. Palette surface formats are supported for NumPy arrays. | |
doc_6225 | See Migration guide for more details. tf.compat.v1.manip.reverse, tf.compat.v1.reverse, tf.compat.v1.reverse_v2
tf.reverse(
tensor, axis, name=None
)
NOTE tf.reverse has now changed behavior in preparation for 1.0. tf.reverse_v2 is currently an alias that will be deprecated before TF 1.0. Given a tensor, and a i... | |
doc_6226 |
Transform data back to its original space. Parameters
W{ndarray, sparse matrix} of shape (n_samples, n_components)
Transformed data matrix. Returns
X{ndarray, sparse matrix} of shape (n_samples, n_features)
Data matrix of original shape. New in version 0.18: .. | |
doc_6227 | Removes the specified filter filter from this handler. | |
doc_6228 |
Registers a backward hook common to all the modules. This function is deprecated in favor of nn.module.register_module_full_backward_hook() and the behavior of this function will change in future versions. Returns
a handle that can be used to remove the added hook by calling handle.remove() Return type
torch.util... | |
doc_6229 | tf.compat.v1.losses.absolute_difference(
labels, predictions, weights=1.0, scope=None,
loss_collection=tf.GraphKeys.LOSSES, reduction=Reduction.SUM_BY_NONZERO_WEIGHTS
)
weights acts as a coefficient for the loss. If a scalar is provided, then the loss is simply scaled by the given value. If weights is a Tensor... | |
doc_6230 | A reduced-scope variant of SSLSocket representing an SSL protocol instance that does not contain any network IO methods. This class is typically used by framework authors that want to implement asynchronous IO for SSL through memory buffers. This class implements an interface on top of a low-level SSL object as impleme... | |
doc_6231 | Identity Mappings in Deep Residual Networks (CVPR 2016) Functions ResNet101V2(...): Instantiates the ResNet101V2 architecture. ResNet152V2(...): Instantiates the ResNet152V2 architecture. ResNet50V2(...): Instantiates the ResNet50V2 architecture. decode_predictions(...): Decodes the prediction of an ImageNet model. pr... | |
doc_6232 | Return True if the argument is subnormal, and False otherwise. | |
doc_6233 | '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_6234 |
Bases: matplotlib.patches._Style ArrowStyle is a container class which defines several arrowstyle classes, which is used to create an arrow path along a given path. These are mainly used with FancyArrowPatch. A arrowstyle object can be either created as: ArrowStyle.Fancy(head_length=.4, head_width=.4, tail_width=.4)
... | |
doc_6235 | Return True if the Turtle is shown, False if it’s hidden. >>> turtle.hideturtle()
>>> turtle.isvisible()
False
>>> turtle.showturtle()
>>> turtle.isvisible()
True | |
doc_6236 | Dictionary mapping suffixes to suffixes. This is used to allow recognition of encoded files for which the encoding and the type are indicated by the same extension. For example, the .tgz extension is mapped to .tar.gz to allow the encoding and type to be recognized separately. | |
doc_6237 | runeval(expression, globals=None, locals=None)
runcall(function, *args, **kwds)
set_trace()
See the documentation for the functions explained above. | |
doc_6238 |
Compute the q-th quantile of the data along the specified axis. New in version 1.15.0. Parameters
aarray_like
Input array or object that can be converted to an array.
qarray_like of float
Quantile or sequence of quantiles to compute, which must be between 0 and 1 inclusive.
axis{int, tuple of int, None}... | |
doc_6239 |
Compiles fn when it is first called during tracing. torch.jit.script has a non-negligible start up time when it is first called due to lazy-initializations of many compiler builtins. Therefore you should not use it in library code. However, you may want to have parts of your library work in tracing even if they use c... | |
doc_6240 |
Return Series with specified index labels removed. Remove elements of a Series based on specifying the index labels. When using a multi-index, labels on different levels can be removed by specifying the level. Parameters
labels:single label or list-like
Index labels to drop.
axis:0, default 0
Redundant for ... | |
doc_6241 |
Fit MultiTaskElasticNet model with coordinate descent Parameters
Xndarray of shape (n_samples, n_features)
Data.
yndarray of shape (n_samples, n_tasks)
Target. Will be cast to X’s dtype if necessary. Notes Coordinate descent is an algorithm that considers each column of data at a time hence it will auto... | |
doc_6242 | tf.reduce_any
tf.math.reduce_any(
input_tensor, axis=None, keepdims=False, name=None
)
Reduces input_tensor along the dimensions given in axis. Unless keepdims is true, the rank of the tensor is reduced by 1 for each of the entries in axis, which must be unique. If keepdims is true, the reduced dimensions are re... | |
doc_6243 | socket.SOCK_NONBLOCK
These two constants, if defined, can be combined with the socket types and allow you to set some flags atomically (thus avoiding possible race conditions and the need for separate calls). See also Secure File Descriptor Handling for a more thorough explanation. Availability: Linux >= 2.6.27. N... | |
doc_6244 | Parameters
fun – a function with no arguments or None
key – a string: key (e.g. “a”) or key-symbol (e.g. “space”) Bind fun to key-press event of key if key is given, or to any key-press-event if no key is given. Remark: in order to be able to register key-events, TurtleScreen must have focus. (See method liste... | |
doc_6245 | tf.compat.v1.colocate_with(
op, ignore_existing=False
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Colocations handled automatically by placer. | |
doc_6246 |
Bases: matplotlib.image.AxesImage Parameters
interpolation{'nearest', 'bilinear'}, default: 'nearest'
**kwargs
All other keyword arguments are identical to those of AxesImage. get_extent()[source]
Return the image extent as tuple (left, right, bottom, top).
make_image(renderer, magnification=1.0, un... | |
doc_6247 | See Migration guide for more details. tf.compat.v1.keras.layers.Minimum
tf.keras.layers.Minimum(
**kwargs
)
It takes as input a list of tensors, all of the same shape, and returns a single tensor (also of the same shape).
tf.keras.layers.Minimum()([np.arange(5).reshape(5, 1),
np.arang... | |
doc_6248 | atan2(dy, dx)
clip(xlines, ylines, x0[, clip, xdir, ydir])
clip_line_to_rect(xline, yline, bbox) | |
doc_6249 | Remove the first occurrence of x from the array. | |
doc_6250 | A RegexValidator instance that ensures a value consists of only Unicode letters, numbers, underscores, or hyphens. | |
doc_6251 | operator.__or__(a, b)
Return the bitwise or of a and b. | |
doc_6252 | See Migration guide for more details. tf.compat.v1.image.sobel_edges
tf.image.sobel_edges(
image
)
Arguments
image Image tensor with shape [batch_size, h, w, d] and type float32 or float64. The image(s) must be 2x2 or larger.
Returns Tensor holding edge maps for each channel. Returns a tensor ... | |
doc_6253 | Read-only attribute which is always True (as opposed to AnonymousUser.is_authenticated which is always False). This is a way to tell if the user has been authenticated. This does not imply any permissions and doesn’t check if the user is active or has a valid session. Even though normally you will check this attribute ... | |
doc_6254 | Remove a key. Parameters
key – The key to be removed. | |
doc_6255 |
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_6256 |
The last colorbar associated with this ScalarMappable. May be None. | |
doc_6257 | Called for every processing instruction. | |
doc_6258 |
Fit the Ledoit-Wolf shrunk covariance model according to the given training data and parameters. Parameters
Xarray-like of shape (n_samples, n_features)
Training data, where n_samples is the number of samples and n_features is the number of features.
yIgnored
Not used, present for API consistency by convent... | |
doc_6259 | Encodes the payload into base64 form and sets the Content-Transfer-Encoding header to base64. This is a good encoding to use when most of your payload is unprintable data since it is a more compact form than quoted-printable. The drawback of base64 encoding is that it renders the text non-human readable. | |
doc_6260 |
Place a legend on the figure. Call signatures: legend()
legend(handles, labels)
legend(handles=handles)
legend(labels)
The call signatures correspond to the following different ways to use this method: 1. Automatic detection of elements to be shown in the legend The elements to be added to the legend are automatical... | |
doc_6261 | Object that is not equal to anything (even to ALWAYS_EQ). Used to test mixed type comparison. | |
doc_6262 |
Bases: torch.distributions.exp_family.ExponentialFamily Creates a continuous Bernoulli distribution parameterized by probs or logits (but not both). The distribution is supported in [0, 1] and parameterized by ‘probs’ (in (0,1)) or ‘logits’ (real-valued). Note that, unlike the Bernoulli, ‘probs’ does not correspond t... | |
doc_6263 | A boolean indicating whether the response content has been rendered. | |
doc_6264 | An ABC with one abstract method __bytes__. | |
doc_6265 |
Get Exponential power of dataframe and other, element-wise (binary operator pow). Equivalent to dataframe ** other, but with support to substitute a fill_value for missing data in one of the inputs. With reverse version, rpow. Among flexible wrappers (add, sub, mul, div, mod, pow) to arithmetic operators: +, -, *, /,... | |
doc_6266 |
Broadcasts the tensor to the whole group. tensor must have the same number of elements in all processes participating in the collective. Parameters
tensor (Tensor) – Data to be sent if src is the rank of current process, and tensor to be used to save received data otherwise.
src (int) – Source rank.
group (Proc... | |
doc_6267 | Starts up a socket server on the specified port, and listens for new configurations. If no port is specified, the module’s default DEFAULT_LOGGING_CONFIG_PORT is used. Logging configurations will be sent as a file suitable for processing by dictConfig() or fileConfig(). Returns a Thread instance on which you can call s... | |
doc_6268 | Set the peak size of memory blocks traced by the tracemalloc module to the current size. Do nothing if the tracemalloc module is not tracing memory allocations. This function only modifies the recorded peak size, and does not modify or clear any traces, unlike clear_traces(). Snapshots taken with take_snapshot() before... | |
doc_6269 | tf.losses.MeanAbsolutePercentageError Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.losses.MeanAbsolutePercentageError
tf.keras.losses.MeanAbsolutePercentageError(
reduction=losses_utils.ReductionV2.AUTO,
name='mean_absolute_percentage_error'
)
loss = 100 * abs(y_true ... | |
doc_6270 |
Set one or more properties on an Artist, or list allowed values. Parameters
objArtist or list of Artist
The artist(s) whose properties are being set or queried. When setting properties, all artists are affected; when querying the allowed values, only the first instance in the sequence is queried. For example, t... | |
doc_6271 | tf.metrics.FalseNegatives Compat aliases for migration See Migration guide for more details. tf.compat.v1.keras.metrics.FalseNegatives
tf.keras.metrics.FalseNegatives(
thresholds=None, name=None, dtype=None
)
If sample_weight is given, calculates the sum of the weights of false negatives. This metric creates one... | |
doc_6272 |
Return filter function to be used for agg filter. | |
doc_6273 | If a fallback has been set, forward gettext() to the fallback. Otherwise, return message. Overridden in derived classes. | |
doc_6274 | '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_6275 | Time of last modification. | |
doc_6276 |
Write Styler to a file, buffer or string in LaTeX format. New in version 1.3.0. Parameters
buf:str, path object, file-like object, or None, default None
String, path object (implementing os.PathLike[str]), or file-like object implementing a string write() function. If None, the result is returned as a string.... | |
doc_6277 | This method returns None for the lock, since there is no underlying I/O to which access needs to be serialized. | |
doc_6278 | '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_6279 | operator.le(a, b)
operator.eq(a, b)
operator.ne(a, b)
operator.ge(a, b)
operator.gt(a, b)
operator.__lt__(a, b)
operator.__le__(a, b)
operator.__eq__(a, b)
operator.__ne__(a, b)
operator.__ge__(a, b)
operator.__gt__(a, b)
Perform “rich comparisons” between a and b. Specifically, lt(a, b) is equiva... | |
doc_6280 | Raised when an operation or function is applied to an object of inappropriate type. The associated value is a string giving details about the type mismatch. This exception may be raised by user code to indicate that an attempted operation on an object is not supported, and is not meant to be. If an object is meant to s... | |
doc_6281 | Should return True if editing obj is permitted, False otherwise. If obj is None, should return True or False to indicate whether editing of objects of this type is permitted in general (e.g., False will be interpreted as meaning that the current user is not permitted to edit any object of this type). | |
doc_6282 | Returns the number of threads used for parallelizing CPU operations | |
doc_6283 |
Return the image value at the event position or None if the event is outside the image. See also matplotlib.artist.Artist.get_cursor_data | |
doc_6284 | See Migration guide for more details. tf.compat.v1.signal.inverse_stft_window_fn
tf.signal.inverse_stft_window_fn(
frame_step, forward_window_fn=tf.signal.hann_window, name=None
)
Constructs a window that is equal to the forward window with a further pointwise amplitude correction. inverse_stft_window_fn is equi... | |
doc_6285 | User defined flags for file. | |
doc_6286 |
Set the colormap to 'prism'. This changes the default colormap as well as the colormap of the current image if there is one. See help(colormaps) for more information. | |
doc_6287 |
Remove a callback based on its observer id. See also add_callback | |
doc_6288 | Set the sequence of blocked domains. | |
doc_6289 |
Set the linestyle(s) for the collection.
linestyle description
'-' or 'solid' solid line
'--' or 'dashed' dashed line
'-.' or 'dashdot' dash-dotted line
':' or 'dotted' dotted line Alternatively a dash tuple of the following form can be provided: (offset, onoffseq),
where onoffseq is an even length tup... | |
doc_6290 | See Migration guide for more details. tf.compat.v1.raw_ops.BatchSelfAdjointEig
tf.raw_ops.BatchSelfAdjointEig(
input, name=None
)
Args
input A Tensor. Must be one of the following types: float64, float32.
name A name for the operation (optional).
Returns A Tensor. Has the same type as in... | |
doc_6291 | """
May be applied as a `default=...` value on a serializer field.
Returns the current user.
"""
requires_context = True
def __call__(self, serializer_field):
return serializer_field.context['request'].user
When serializing the instance, default will be used if the object attribute or ... | |
doc_6292 |
Draw the figure with no output. Useful to get the final size of artists that require a draw before their size is known (e.g. text). | |
doc_6293 | Guess the type of a file based on its filename, path or URL, given by url. URL can be a string or a path-like object. The return value is a tuple (type, encoding) where type is None if the type can’t be guessed (missing or unknown suffix) or a string of the form 'type/subtype', usable for a MIME content-type header. en... | |
doc_6294 | Decorator to ensure the threads are cleaned up even if the test fails. | |
doc_6295 | tests if the vector is normalized i.e. has length == 1. is_normalized() -> Bool Returns True if the vector has length equal to 1. Otherwise it returns False. | |
doc_6296 |
return a list of colorspecs | |
doc_6297 | A subclass of FileDialog that creates a dialog window for selecting an existing file.
ok_command()
Test that a file is provided and that the selection indicates an already existing file. | |
doc_6298 | Callback signaling that the entire upload (all files) has completed. | |
doc_6299 | tf.compat.v1.graph_util.extract_sub_graph(
graph_def, dest_nodes
)
Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use tf.compat.v1.graph_util.extract_sub_graph
Args
graph_def A graph_pb2.GraphDef proto.
dest_nodes A list of strings specifying... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.