forked from tensorflow/tensorflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
16 changed files
with
286 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tensorflow/g3doc/api_docs/python/functions_and_classes/shard0/tf.floormod.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### `tf.floormod(x, y, name=None)` {#floormod} | ||
|
||
Returns element-wise remainder of division. When `x < 0` xor `y < 0` is | ||
|
||
true, this follows Python semantics in that the result here is consistent | ||
with a flooring divide. E.g. `floor(x / y) * y + mod(x, y) = x`. | ||
|
||
*NOTE*: `FloorMod` supports broadcasting. More about broadcasting | ||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) | ||
|
||
##### Args: | ||
|
||
|
||
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `int32`, `int64`, `float32`, `float64`. | ||
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`. | ||
* <b>`name`</b>: A name for the operation (optional). | ||
|
||
##### Returns: | ||
|
||
A `Tensor`. Has the same type as `x`. | ||
|
8 changes: 8 additions & 0 deletions
8
...oc/api_docs/python/functions_and_classes/shard0/tf.summary.TaggedRunMetadata.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
- - - | ||
|
||
#### `tf.summary.TaggedRunMetadata.__getstate__()` {#TaggedRunMetadata.__getstate__} | ||
|
||
Support the pickle protocol. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
tensorflow/g3doc/api_docs/python/functions_and_classes/shard2/tf.floor_div.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
### `tf.floor_div(x, y, name=None)` {#floor_div} | ||
|
||
Returns x // y element-wise. | ||
|
||
*NOTE*: `FloorDiv` supports broadcasting. More about broadcasting | ||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) | ||
|
||
##### Args: | ||
|
||
|
||
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `int64`, `complex64`, `complex128`. | ||
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`. | ||
* <b>`name`</b>: A name for the operation (optional). | ||
|
||
##### Returns: | ||
|
||
A `Tensor`. Has the same type as `x`. | ||
|
8 changes: 8 additions & 0 deletions
8
...c/api_docs/python/functions_and_classes/shard2/tf.summary.SummaryDescription.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
- - - | ||
|
||
#### `tf.summary.SummaryDescription.__getstate__()` {#SummaryDescription.__getstate__} | ||
|
||
Support the pickle protocol. | ||
|
||
|
23 changes: 23 additions & 0 deletions
23
tensorflow/g3doc/api_docs/python/functions_and_classes/shard3/tf.truncatediv.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
### `tf.truncatediv(x, y, name=None)` {#truncatediv} | ||
|
||
Returns x / y element-wise for integer types. | ||
|
||
Truncation designates that negative numbers will round fractional quantities | ||
toward zero. I.e. -7 / 5 = 1. This matches C semantics but it is different | ||
than Python semantics. See `FloorDiv` for a division function that matches | ||
Python Semantics. | ||
|
||
*NOTE*: `TruncateDiv` supports broadcasting. More about broadcasting | ||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) | ||
|
||
##### Args: | ||
|
||
|
||
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `int64`, `complex64`, `complex128`. | ||
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`. | ||
* <b>`name`</b>: A name for the operation (optional). | ||
|
||
##### Returns: | ||
|
||
A `Tensor`. Has the same type as `x`. | ||
|
2 changes: 1 addition & 1 deletion
2
tensorflow/g3doc/api_docs/python/functions_and_classes/shard5/tf.floordiv.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
tensorflow/g3doc/api_docs/python/functions_and_classes/shard8/tf.truncatemod.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
### `tf.truncatemod(x, y, name=None)` {#truncatemod} | ||
|
||
Returns element-wise remainder of division. This emulates C semantics where | ||
|
||
true, this follows C semantics in that the result here is consistent | ||
with a flooring divide. E.g. `floor(x / y) * y + mod(x, y) = x`. | ||
|
||
*NOTE*: `Mod` supports broadcasting. More about broadcasting | ||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) | ||
|
||
##### Args: | ||
|
||
|
||
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `int32`, `int64`, `float32`, `float64`. | ||
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`. | ||
* <b>`name`</b>: A name for the operation (optional). | ||
|
||
##### Returns: | ||
|
||
A `Tensor`. Has the same type as `x`. | ||
|
20 changes: 20 additions & 0 deletions
20
tensorflow/g3doc/api_docs/python/functions_and_classes/shard9/tf.realdiv.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
### `tf.realdiv(x, y, name=None)` {#realdiv} | ||
|
||
Returns x / y element-wise for real types. | ||
|
||
If `x` and `y` are reals, this will return the floating-point division. | ||
|
||
*NOTE*: `Div` supports broadcasting. More about broadcasting | ||
[here](http://docs.scipy.org/doc/numpy/user/basics.broadcasting.html) | ||
|
||
##### Args: | ||
|
||
|
||
* <b>`x`</b>: A `Tensor`. Must be one of the following types: `half`, `float32`, `float64`, `uint8`, `int8`, `uint16`, `int16`, `int32`, `int64`, `complex64`, `complex128`. | ||
* <b>`y`</b>: A `Tensor`. Must have the same type as `x`. | ||
* <b>`name`</b>: A name for the operation (optional). | ||
|
||
##### Returns: | ||
|
||
A `Tensor`. Has the same type as `x`. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.