id stringlengths 16 145 | text stringlengths 1 179k | title stringclasses 1
value |
|---|---|---|
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_273_0.txt |
# torch.Tensor.transpose ¶
Tensor. transpose ( _ dim0 _ , _ dim1 _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/Pytorch_Documentations_37_7.txt | ts have requires_grad=True .
This mode has no effect when using ` enable_grad ` context manager .
This context manager is thread local; it will not affect computation in other
threads.
Also functions as a decorator. (Make sure to instantiate with parenthesis.)
Example:
>>> x = torch.tensor([1], r... | |
pytorch_torch_tensor_functions/Visualizing_PyTorch_memory_3_0.txt | ## Visualizing traces
Visualization of this information can make it much easier to interpret. The
same tool can generate interactive html plots that let you explore the
allocated memory as it existed over time:
$ python _memory_viz.py trace_plot snapshot.pickle -o trace.html
The visualization plo... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_63_4.txt | ience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .
 → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Add a scalar or tensor to ` self ` tensor. If both ` alpha ` and ` other `
are specified, each element of ` other ` is scaled by ` alpha ` before being
used.
When... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_45_1.txt | an object that represents the numerical properties of a
floating point [ ` torch.dtype ` ](tensor_attributes.html#torch.torch.dtype
"torch.torch.dtype") , (i.e. ` torch.float32 ` , ` torch.float64 ` , and `
torch.float16 ` ). This is similar to [ numpy.finfo
](https://docs.scipy.org/doc/numpy/reference/generated/n... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_409_0.txt |
# torch.geqrf ¶
torch. geqrf ( _ input _ , _ * _ , _ out = None _ ) ¶
This is a low-level function for calling LAPACK’s geqrf directly. This
function returns a namedtuple (a, tau) as defined in [ LAPACK documentation
for geqrf ](http://www.netlib.org/lapack/explore-
html/df/dc5/group__variants_g_eco... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_71_0.txt |
# torch.signbit ¶
torch. signbit ( _ input _ , _ * _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Tests if each element of ` input ` has its sign bit set or not.
Parameters
**input** ( [ _Tensor_ ](../tensors.html#torch.Tensor "torch.Tensor") ) – the
input... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_39_0.txt | [ ](https://pytorch.org/)
* [ Get Started ](https://pytorch.org/get-started)
* Ecosystem
[ Models (Beta) Discover, publish, and reuse pre-trained models
](https://pytorch.org/hub) [ Tools & Libraries Explore the ecosystem of tools
and libraries ](https://pytorch.org/ecosystem)
* [ Mobile ](https://pytorch.... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_81_0.txt |
# torch.lcm ¶
torch. lcm ( _ input _ , _ other _ , _ * _ , _ out = None _ ) → [
Tensor ](../tensors.html#torch.Tensor "torch.Tensor") ¶
Computes the element-wise least common multiple (LCM) of ` input ` and `
other ` .
Both ` input ` and ` other ` must have integer types.
Note
This defines... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_381_0.txt |
# torch.Tensor.sin ¶
Tensor. sin ( ) → [ Tensor ](../tensors.html#torch.Tensor
"torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_314_0.txt |
# torch.Tensor.tril ¶
Tensor. tril ( _ diagonal = 0 _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_237_0.txt |
# torch.Tensor.squeeze ¶
Tensor. squeeze ( _ dim = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_115_0.txt |
# torch.Tensor.bitwise_right_shift ¶
Tensor. bitwise_right_shift ( _ other _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_103_0.txt |
# torch.matmul ¶
torch. matmul ( _ input _ , _ other _ , _ * _ , _ out = None _ ) →
[ Tensor ](../tensors.html#torch.Tensor "torch.Tensor") ¶
Matrix product of two tensors.
The behavior depends on the dimensionality of the tensors as follows:
* If both tensors are 1-dimensional, the dot produc... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_513_0.txt |
# torch.Tensor.bitwise_not ¶
Tensor. bitwise_not ( ) → [ Tensor ](../tensors.html#torch.Tensor
"torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_36_0.txt |
# torch.Tensor.sign ¶
Tensor. sign ( ) → [ Tensor ](../tensors.html#torch.Tensor
"torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_126_0.txt |
# torch.Tensor.log10 ¶
Tensor. log10 ( ) → [ Tensor ](../tensors.html#torch.Tensor
"torch.Tensor") ¶
| |
pytorch_torch_tensor_functions/Pytorch_Documentations_65_0.txt | [ ](https://pytorch.org/)
* [ Get Started ](https://pytorch.org/get-started)
* Ecosystem
[ Models (Beta) Discover, publish, and reuse pre-trained models
](https://pytorch.org/hub) [ Tools & Libraries Explore the ecosystem of tools
and libraries ](https://pytorch.org/ecosystem)
* [ Mobile ](https://pytorch.... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_49_23.txt |
index) ` is equivalent to ` tensor[index] ` and ` tensor.select(2, index)
` is equivalent to ` tensor[:,:,index] ` .
` set_ ` ( _source=None_ , _storage_offset=0_ , _size=None_ , _stride=None_ )
→ Tensor ¶
Sets the underlying storage, size, and strides. If ` source ` is a tensor, `
self ` tensor will s... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_1_2.txt | es.com/pagead/conversion/795629140/?label=txkmCPmdtosBENSssfsC&guid=ON&script=0)
## Docs
Access comprehensive developer documentation for PyTorch
[ View Docs ](https://pytorch.org/docs/stable/index.html)
## Tutorials
Get in-depth tutorials for beginners and advanced developers
[ View Tutorials ](https://pytorch... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_47_20.txt | Python v3.8\)") _,_ _optional_ ) – Deprecated (see ` reduction ` ). By default, the losses are averaged over each loss element in the batch. Note that for some losses, there multiple elements per sample. If the field ` size_average ` is set to ` False ` , the losses are instead summed for each minibatch. Ignored wh... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_25_17.txt | s ](https://pytorch.org/features)
* [ Ecosystem ](https://pytorch.org/ecosystem)
* [ Blog ](https://pytorch.org/blog/)
* [ Contributing ](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md)
* [ Resources ](https://pytorch.org/resources)
* [ Tutorials ](https://pytorch.org/tutorials)
* [ Docs ](... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_19_2.txt | tps://pytorchnlp.readthedocs.io)
[
* padl
* 
* *
Pipeline Abstractions for Deep Learning in PyTorch
](https://lf1-io.github.io/padl/)
[
* PyPOTS
* 
* *
A Python toolbox for data mining on Partially-Observed Time Series (POTS) ... | |
pytorch_torch_tensor_functions/Memory Management_4_0.txt | # Implementation
In this section, we will look at how we use **PYTORCH_CUDA_ALLOC_CONF** for
memory management in PyTorch.
import torch
import os
# Set PYTORCH_CUDA_ALLOC_CONF environment variable
os.environ["PYTORCH_CUDA_ALLOC_CONF"] = "caching_allocator"
# Explan... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_60_10.txt | .html#torch.distributed.init_process_group "torch.distributed.init_process_group") (default: ` env:// ` ).
_property_ ` init_method ` ¶
URL specifying how to initialize the process group. Default is ` env:// `
_property_ ` num_worker_threads ` ¶
The number of threads in the thread-pool used by ` Tens... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_283_0.txt |
# torch.norm ¶
torch. norm ( _ input _ , _ p = 'fro' _ , _ dim = None _ , _ keepdim
= False _ , _ out = None _ , _ dtype = None _ ) [ [source]
](../_modules/torch/functional.html#norm) ¶
Returns the matrix norm or vector norm of a given tensor.
Warning
torch.norm is deprecated and may be... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_57_17.txt | ` temperature ` ,
and either ` probs ` or ` logits ` (but not both). This is a relaxed
version of the Bernoulli distribution, so the values are in (0, 1), and has
reparametrizable samples.
Example:
>>> m = RelaxedBernoulli(torch.tensor([2.2]),
torch.tensor([0.1, 0.2... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_452_1.txt | storage_offset() ` must be divisible by the ratio between the
> element sizes of the dtypes.
>
> * The strides of all dimensions, except the last dimension, must be
> divisible by the ratio between the element sizes of the dtypes.
>
>
If any of the above conditions are not met, an error is thrown.
Warning
This ov... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_249_0.txt |
# torch.sum ¶
torch. sum ( _ input _ , _ * _ , _ dtype = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Returns the sum of all elements in the ` input ` tensor.
Parameters
**input** ( [ _Tensor_ ](../tensors.html#torch.Tensor "torch.Tensor") ) – the
input tensor.
Key... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_46_5.txt | override default walltime (time.time()) seconds after epoch of event
Shape:
snd_tensor: ( 1 , L ) (1, L) ( 1 , L ) . The values should lie
between [-1, 1].
` add_text ` ( _tag_ , _text_string_ , _global_step=None_ , _walltime=None_ )
[ [source]
](_modules/torch/utils/tensorboard/writer.html#Summ... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_343_0.txt |
# torch.argmax ¶
torch. argmax ( _ input _ ) → LongTensor ¶
Returns the indices of the maximum value of all elements in the ` input `
tensor.
This is the second value returned by [ ` torch.max() `
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_411_0.txt |
# torch.aminmax ¶
torch. aminmax ( _ input _ , _ * _ , _ dim=None _ , _ keepdim=False _ ,
_ out=None) -> (Tensor min _ , _ Tensor max _ ) ¶
Computes the minimum and maximum values of the ` input ` tensor.
Parameters
**input** ( [ _Tensor_ ](../tensors.html#torch.Tensor "torch.Tensor") )... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_248_0.txt |
# torch.square ¶
torch. square ( _ input _ , _ * _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Returns a new tensor with the square of the elements of ` input ` .
Parameters
**input** ( [ _Tensor_ ](../tensors.html#torch.Tensor "torch.Tensor") ) – the
inp... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_201_0.txt |
# torch.Tensor.to_dense ¶
Tensor. to_dense ( _ dtype = None _ , _ * _ , _ masked_grad = True _
) → [ Tensor ](../tensors.html#torch.Tensor "torch.Tensor") ¶
Creates a strided copy of ` self ` if ` self ` is not a strided tensor,
otherwise returns ` self ` .
Keyword Arguments
* **{dt... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_48_11.txt | general the
value is defined according to one of the following ways or a combination of
both: (1). A list of integers specifying the dynamic axes of provided input.
In this scenario automated names will be generated and applied to dynamic axes
of provided input/output during export. OR (2). An inner dictionary that
spe... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_47_21.txt | ean' `
* **zero_infinity** ( [ _bool_ ](https://docs.python.org/3/library/functions.html#bool "\(in Python v3.8\)") _,_ _optional_ ) – Whether to zero infinite losses and the associated gradients. Default: ` False ` Infinite losses mainly occur when the inputs are too short to be aligned to the targets.
Example:... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_445_0.txt |
# torch.digamma ¶
torch. digamma ( _ input _ , _ * _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Alias for [ ` torch.special.digamma() `
](../special.html#torch.special.digamma "torch.special.digamma") .
| |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_217_0.txt |
# torch.dsplit ¶
torch. dsplit ( _ input _ , _ indices_or_sections _ ) → List of
Tensors ¶
Splits ` input ` , a tensor with three or more dimensions, into multiple
tensors depthwise according to ` indices_or_sections ` . Each split is a view
of ` input ` .
This is equivalent to calling torch.ten... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_0_3.txt | d query plan caches of a non-default device, you can index the `
torch.backends.cuda.cufft_plan_cache ` object with either a ` torch.device `
object or a device index, and access one of the above attributes. E.g., to set
the capacity of the cache for device ` 1 ` , one can write `
torch.backends.cuda.cufft_plan_cach... | |
pytorch_torch_tensor_functions/Pytorch_Documentations_48_3.txt | t[value={1}]()
%3 : Tensor = onnx::Add(%0, %2)
%4 : Tensor = onnx::Constant[value={2}]()
%5 : Tensor = onnx::Add(%3, %4)
%6 : Tensor = onnx::Constant[value={3}]()
%7 : Tensor = onnx::Add(%5, %6)
%8 : Tensor = onnx::Constant[value={4}]()
%9 : Tensor = onnx::Add(%7, %8)
ret... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_369_0.txt |
# torch.std ¶
torch. std ( _ input _ , _ dim = None _ , _ * _ , _ correction = 1
_ , _ keepdim = False _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Calculates the standard deviation over the dimensions specified by ` dim ` .
` dim ` can be a single dime... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_211_0.txt |
# torch.i0 ¶
torch. i0 ( _ input _ , _ * _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Alias for [ ` torch.special.i0() ` ](../special.html#torch.special.i0
"torch.special.i0") .
| |
pytorch_torch_tensor_functions/Pytorch_Documentations_47_3.txt | an be a single number or a tuple ` (dW,) ` . Default: 1
Examples:
>>> inputs = torch.randn(20, 16, 50)
>>> weights = torch.randn(16, 33, 5)
>>> F.conv_transpose1d(inputs, weights)
### conv_transpose2d ¶
` torch.nn.functional. ` ` conv_transpose2d ` ( _input_ , _weight_ ,
_bias=None_ ... | |
pytorch_torch_tensor_functions/pytorch_torch_tensor_functions_305_0.txt |
# torch.erfc ¶
torch. erfc ( _ input _ , _ * _ , _ out = None _ ) → [ Tensor
](../tensors.html#torch.Tensor "torch.Tensor") ¶
Alias for [ ` torch.special.erfc() ` ](../special.html#torch.special.erfc
"torch.special.erfc") .
| |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_23.txt | alias as asm begin break case class def do else elsif end ensure enum extend
for fun if ifdef include instance_sizeof is_a? lib macro module next of out
pointerof private protected rescue responds_to? return require self sizeof
struct super then type typeof union unless until when while with yield __DIR__
__FILE__ __LI... | |
Mmdn_Methods_Properties/Mmdn_methods_7_2.txt | Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/Web/JavaScript/Ref... | |
Mmdn_Methods_Properties/host_details.lua1_2_1.txt | _host_info", {
96 hostinfo = host_info["host"],
97 vlan = host_vlan
98 }) .. "\n")
99 end
100 local host = interface.getHostInfo(host_info["host"], host_vlan)
101 local tskey
102
103 if _GET["tskey"] then
104 tskey = _GET["tskey"]
... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_8.txt | er(j).forEach(function(t){var
a=d(t,e,!1);a.language=t,a.relevance>s.relevance&&(s=a),
---|---
|
a.relevance>r.relevance&&(s=r,r=a)}),s.language&&(r.second_best=s),r}function
u(e){return N.tabReplace||N.useBR?e.replace(x,function(e,t){return
N.useBR&&"\n"===e?"<br>":N.tabReplace?t.replace(/\t/g,N.tabReplace):void
0... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_120.txt | window document any number boolean
string
void"};return{aliases:["ts"],keywords:t,contains:[{className:"meta",begin:/^\s*['"]use
strict['"]/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,{className:"subst",begin:"\\\$\\\\{",end:"\\\\}"}]},e.C_LINE_COMMENT_MOD... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_39.txt | ort splitEachLine step subMap times toInteger toList tokenize upto
waitForOrKill withPrintWriter withReader withStream withWriter
withWriterAppend write
writeLine"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.REGEXP_MODE]}}},{name:"groovy",create:functio... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_5.txt | tyler");window.remark=new
r,s.apply(),n.styleDocument()},{"./polyfills":3,"./remark/api":5,"./remark/components/styler/styler":"components/styler"}],5:[function(e,t,a){function
r(e){this.dom=e||new p,this.macros=g,this.version=c.version}function
s(e,t){var a;return
t=t||{},t.hasOwnProperty("source")||(a=e.getElementByI... | |
Mmdn_Methods_Properties/Mmdn_Properties_0_2.txt | before the first one with
// a default value are counted
## Specifications
Specification
---
[ ECMAScript Language Specification
# sec-function-instances-length
](https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-function-
instances-length)
## Browser compatibility
BCD tables onl... | |
Mmdn_Methods_Properties/Mmdn_methods_11_2.txt | eb/JavaScript/Reference/Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US... | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_14_0.txt | ##### Collectives™ on Stack Overflow
Find centralized, trusted content and collaborate around the technologies you
use most. | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_42.txt | ,begin:/\bon|off|true|false|yes|no\b/},{className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\\{(.*?)}/}]},t,{className:"number",begin:/([\\+\\-]+)?[\d]+_[\d_]+/},e.NUMBER_MODE]}]}]}}},{name:"irpf90",create:function(e){var
t={className:"params",begin:"\\\\(",end:"\\\\)"},a={literal:".False.
.True.",keyw... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_124.txt | mapclear nmenu nnoremap nnoremenu
noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu
oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap
ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit
perl perldo pop popup ppop preserve previous psearch ptag p... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_45.txt | nge Channel Cintmax_t CompositeException Cstring
Cuintmax_t Cwstring Date DateTime Dims Enum GenSym GlobalRef HTML InitError
InvalidStateException Irrational LinSpace LowerTriangular NullException
Nullable OutOfMemoryError Pair PartialQuickSort Pipe RandomDevice
ReadOnlyMemoryError ReentrantLock Ref RemoteException Seg... | |
Mmdn_Methods_Properties/Mmdn_methods_32_5.txt | log/)
* [ Careers ](https://www.mozilla.org/en-US/careers/listings/?team=ProdOps)
* [ Advertise with us ](/en-US/advertising)
## Support
* [ Product help ](https://support.mozilla.org/products/mdn-plus)
* [ Report an issue ](/en-US/docs/MDN/Community/Issues)
## Our communities
* [ MDN Community ](/en-US... | |
Mmdn_Methods_Properties/Mmdn_methods_24_5.txt | rt.mozilla.org/products/mdn-plus)
* [ Report an issue ](/en-US/docs/MDN/Community/Issues)
## Our communities
* [ MDN Community ](/en-US/community)
* [ MDN Forum ](https://discourse.mozilla.org/c/mdn/236)
* [ MDN Chat ](/discord)
## Developers
* [ Web Technologies ](/en-US/docs/Web)
* [ Learn Web Devel... | |
Mmdn_Methods_Properties/interface.php7_18_0.txt | * Topics
* Trending
* Collections
* Pricing | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_35_0.txt | edited May 23, 2017 at 12:24
Community Bot | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_36.txt | }),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FU... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_132.txt | .hljs-agate .hljs a:hover{color:inherit;text-
decoration:underline}",androidstudio:".hljs-androidstudio
.hljs{color:#a9b7c6;background:#282b2e;display:block;overflow-x:auto;padding:.5em}.hljs-
androidstudio .hljs-number,.hljs-androidstudio .hljs-literal,.hljs-
androidstudio .hljs-symbol,.hljs-androidstudio .hljs-
bulle... | |
Mmdn_Methods_Properties/host_details.lua1_2_22.txt | >" .. i18n("dns_page.positive_replies") ..
1709 "</th><th class='text-end'>" .. i18n("dns_page.error_replies") ..
1710 "</th><th colspan=2 class='text-center'>" .. i18n("dns_page.reply_breakdown") .. "</th></tr>")
1711 print("<tr><th>" .... | |
Mmdn_Methods_Properties/Mmdn_methods_7_3.txt | e/Global_Objects/Array) instances adds the
specified elements to the end of an array and returns the new length of the
array.
## Try it
## Syntax
js
push()
push(element1)
push(element1, element2)
push(element1, element2, /* â¦, */ elementN)
### Parameters
` element1 ` , â¦, ` e... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_134.txt | -atelier-dune-dark .hljs-name,.hljs-atelier-dune-dark .hljs-
regexp,.hljs-atelier-dune-dark .hljs-link,.hljs-atelier-dune-dark .hljs-
name,.hljs-atelier-dune-dark .hljs-selector-id,.hljs-atelier-dune-dark .hljs-
selector-class{color:#d73737}.hljs-atelier-dune-dark .hljs-number,.hljs-
atelier-dune-dark .hljs-meta,.hljs-... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_161.txt | t:0;left:0;display:none;position:absolute;z-index:1000;-webkit-
transform-origin:top left;-moz-transform-origin:top left;transform-origin:top-
left}.remark-help .remark-help-content{color:white;font-
family:Helvetica,arial,freesans,clean,sans-serif;font-
size:12pt;position:absolute;top:5%;bottom:10%;height:10%;left:5%;... | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_13_0.txt | 3. Teams
4. Ask questions, find answers and collaborate at work with Stack Overflow for Teams. Explore Teams | |
Mmdn_Methods_Properties/Mmdn_methods_2_3.txt | b/JavaScript/Reference/Global_Objects/Array) instances returns the
first index at which a given element can be found in the array, or -1 if it is
not present.
## Try it
## Syntax
js
indexOf(searchElement)
indexOf(searchElement, fromIndex)
### Parameters
` searchElement `
Element t... | |
Mmdn_Methods_Properties/Mmdn_methods_22_2.txt | cript/Reference/Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/We... | |
Mmdn_Methods_Properties/Mmdn_methods_35_1.txt | ies() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries)
6. [ ` Array.prototype.every() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every)
7. [ ` Array.prototype.fill() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill)
8. [ ` Array.prototype.filter() `... | |
Mmdn_Methods_Properties/interface.php7_22_0.txt | We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_112.txt | logit_lf clogit_p clogitp clogl_sw cloglog clonevar
clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8
clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4
collapse colormult_nb colormult_nw compare compress conf confi confir confirm
conren cons const constr constra con... | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_52_0.txt | or ask your own question .
* The Overflow Blog
* Upcoming research at Stack Overflow | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_16_0.txt | Q&A for work
Connect and share knowledge within a single location that is structured and
easy to search. | |
Mmdn_Methods_Properties/Mmdn_methods_26_2.txt | e/Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/Web/JavaScript/R... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_73.txt | ann lsquares_estimates
lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse
lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas
lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma
make_graph make_level_picture makelist makeOrders make_poly_continent
make_poly... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_89.txt | pf-failed
egress|5
unknown"},contains:[e.HASH_COMMENT_MODE,e.NUMBER_MODE,e.QUOTE_STRING_MODE,t,a]}}},{name:"php",create:function(e){var
t={begin:"\\\$+[a-zA-
Z_-ÿ][a-zA-Z0-9_-ÿ]*"},a={className:"meta",begin:/<\?(php)?|\?>/},r={className:"string",contains:[e.BACKSLASH_ESCAPE,a],variants:[{begin:'b"',end:'"'},{begin:"b... | |
Mmdn_Methods_Properties/Mmdn_methods_33_4.txt | did not exist.
js
const arrayLike = {
length: 3,
unrelated: "foo",
2: 4,
3: 33, // ignored by reverse() since length is 3
};
console.log(Array.prototype.reverse.call(arrayLike));
// { 0: 4, 3: 33, length: 3, unrelated: 'foo' }
// The index 2 is deleted because the... | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_21_0.txt | 0
My scenario is to get MAC and IP address of connected PCs not over the
Internet But locally in LAN, and I also wanted to store that data into a
database. | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_147.txt | x-light .hljs-class,.hljs-gruvbox-light .hljs-
function,.hljs-gruvbox-light .hljs-function .hljs-keyword,.hljs-gruvbox-light
.hljs-meta-keyword,.hljs-gruvbox-light .hljs-selector-pseudo,.hljs-gruvbox-
light .hljs-tag{color:#427b58}.hljs-gruvbox-light .hljs-
comment{color:#928374}.hljs-gruvbox-light .hljs-link_label,.hl... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_54.txt | ActionMenu ActionMenuBox ActionMenuBoxOptions Active ActiveItem
ActiveStyle AcyclicGraphQ AddOnHelpPath AddTo AdjacencyGraph AdjacencyList
AdjacencyMatrix AdjustmentBox AdjustmentBoxOptions AdjustTimeSeriesForecast
AffineTransform After AiryAi AiryAiPrime AiryAiZero AiryBi AiryBiPrime
AiryBiZero AlgebraicIntegerQ Algeb... | |
Mmdn_Methods_Properties/Mmdn_methods_2_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_Methods_Properties/Mmdn_methods_39_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_Methods_Properties/Mmdn_methods_30_4.txt | );
// ["it's","Sunny","in", "", "California"]
Notice, the output list length can be different from the input list length.
### For adding and removing items during a map()
` flatMap ` can be used as a way to add and remove items (modify the number of
items) during a ` map ` . In other words, it allows you t... | |
Mmdn_Methods_Properties/Mmdn_methods_3_4.txt | 62/multipage/indexed-
collections.html#sec-array.prototype.at)
## Browser compatibility
BCD tables only load in the browser with JavaScript enabled. Enable
JavaScript to view data.
## See also
* [ Polyfill of ` Array.prototype.at ` in ` core-js ` ](https://github.com/zloirock/core-js#relative-indexing-meth... | |
Mmdn_Methods_Properties/Mmdn_methods_1_2.txt | ference/Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/Web/JavaSc... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_157.txt | able,.hljs-xcode .hljs-template-variable{color:#660}.hljs-xcode .hljs-
string{color:#c41a16}.hljs-xcode .hljs-regexp,.hljs-xcode .hljs-
link{color:#080}.hljs-xcode .hljs-title,.hljs-xcode .hljs-tag,.hljs-xcode
.hljs-symbol,.hljs-xcode .hljs-bullet,.hljs-xcode .hljs-number,.hljs-xcode
.hljs-meta{color:#1c00cf}.hljs-xcod... | |
Mmdn_Methods_Properties/Mmdn_methods_12_2.txt | nce/Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/Web/JavaScript... | |
Mmdn_Methods_Properties/Mmdn_methods_0_2.txt | Global_Objects/Array/values)
43. [ ` Array.prototype.with() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/with)
6. Inheritance
7. [ ` Function ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function)
8. Constructor
1. [ ` Function() constructor ` ](/en-US/docs/Web/JavaScript/Ref... | |
Mmdn_Methods_Properties/64fae68256940c3104cf83292d56a6958_13_101.txt | oman|lower-
alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-
all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-
block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-
numeric|ideograph-
alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|do... | |
Mmdn_Methods_Properties/getting-mac-and-ip-address-of-local-pcs-using-javascript-php-and-store-it-into-a8_30_0.txt | You can get the IP Address of the client machine by trying following code:
window.RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnection || window.webkitRTCPeerConnection; //compatibility for firefox and chrome
var pc = new RTCPeerConnection({iceServers:[]}), ... | |
Mmdn_Methods_Properties/Mmdn_methods_25_1.txt | ) ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries)
6. _[ ` Array.prototype.every() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every) _
7. [ ` Array.prototype.fill() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill)
8. [ ` Array.prototype.filter() ` ... | |
Mmdn_Methods_Properties/Mmdn_methods_0_4.txt | ", 0);
Note that the array was initially a [ sparse array ](/en-
US/docs/Web/JavaScript/Guide/Indexed_collections#sparse_arrays) with no
assigned indices. ` fill() ` is still able to fill this array.
### Calling fill() on non-array objects
The ` fill() ` method reads the ` length ` property of ` this ` and set... | |
Mmdn_Methods_Properties/Mmdn_methods_19_4.txt | function and destructuring
js
const inventory = [
{ name: "apples", quantity: 2 },
{ name: "bananas", quantity: 0 },
{ name: "cherries", quantity: 5 },
];
const result = inventory.find(({ name }) => name === "cherries");
console.log(result); // { name: 'cherries'... | |
Mmdn_Methods_Properties/Mmdn_methods_16_1.txt | .entries() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/entries) _
6. [ ` Array.prototype.every() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/every)
7. [ ` Array.prototype.fill() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fill)
8. [ ` Array.prototype.fil... | |
Mmdn_Methods_Properties/Mmdn_methods_31_5.txt | y.of() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of)
* [ ` Array.from() ` ](/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from)
* [ ` for await...of ` ](/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of)
## Help improve MDN
Was this page helpful to you?
Yes No
[ Le... | |
Mmdn_Methods_Properties/Mmdn_methods_31_0.txt | * Skip to main content
* Skip to search
* Skip to select language
[ MDN Web Docs ](/en-US/) Open main menu
* References [ References ](/en-US/docs/Web)
* [ Overview / Web Technology Web technology reference for developers ](/en-US/docs/Web)
* [ HTML Structure of content on the web ](/en-US/do... | |
Mmdn_Methods_Properties/host_details.lua1_2_16.txt | 3 end
1224
1225 if host["tcp.packets.seq_problems"] == true then
1226 local tcp_seq_label = "TCP: " .. i18n("details.retransmissions") .. " / " .. i18n("details.out_of_order") ..
1227 " / " .. i18n("details.lost") .. " / " .. i18n("d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.