Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Add copy buttons to all
 blocks
(function() {
function addCopyButtons() {
document.querySelectorAll('pre code').forEach(function(codeBlock) {
if (codeBlock.parentElement.hasAttribute('data-copy-added')) return;
codeBlock.parentElement.setAttribute('data-copy-added', 'true');
var btn = document.createElement('button');
btn.textContent = 'Copy';
btn.style.cssText = 'position:absolute;top:4px;right:4px;padding:2px 8px;font-size:11px;background:#4ecdc4;border:none;border-radius:4px;color:#1a1a2e;cursor:pointer;opacity:0.7;transition:opacity 0.2s;';
btn.onmouseover = function() { this.style.opacity = '1'; };
btn.onmouseout = function() { this.style.opacity = '0.7'; };
btn.onclick = function() {
navigator.clipboard.writeText(codeBlock.textContent).then(function() {
btn.textContent = 'Copied!';
setTimeout(function() { btn.textContent = 'Copy'; }, 1500);
});
};
codeBlock.parentElement.style.position = 'relative';
codeBlock.parentElement.appendChild(btn);
});
}
addCopyButtons();
// Re-run on dynamic content
var observer = new MutationObserver(addCopyButtons);
observer.observe(document.body, { childList: true, subtree: true });
})();
}
} catch(__e) { console.warn('[Userscript:Add Copy Buttons to Code Blocks]', __e); }
})();
(function(){
try {
var __m = "github.com";
var __re = new RegExp('^' + "github\\.com" + '
Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Force GitHub README to respect dark mode (function() { var style = document.createElement('style'); style.textContent = ' .markdown-body { color-scheme: dark light; } .markdown-body pre { background: #161b22 !important; } .markdown-body code { background: rgba(110, 118, 129, 0.4) !important; } .markdown-body table th, .markdown-body table td { border-color: #30363d !important; } .markdown-body img { background: #0d1117; } .markdown-body blockquote { border-left-color: #8b949e; } .markdown-body hr { border-color: #30363d; } '; document.head.appendChild(style); })(); } } catch(__e) { console.warn('[Userscript:GitHub Dark Mode README Fix]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Highlight search terms from Google/DuckDuckGo/Bing referrer (function() { var ref = document.referrer; var terms = []; if (ref.includes('google.com') || ref.includes('duckduckgo.com') || ref.includes('bing.com')) { var url = new URL(ref); var q = url.searchParams.get('q') || url.searchParams.get('p'); if (q) { terms = q.split(/\s+/).filter(function(t) { return t.length > 2; }); } } if (terms.length === 0) return; var style = document.createElement('style'); style.textContent = '.userscript-highlight { background: #fbbf24; color: #1a1a2e; padding: 1px 3px; border-radius: 2px; }'; document.head.appendChild(style); function highlight(node) { if (node.nodeType === 3) { // text node var text = node.textContent; var found = false; terms.forEach(function(term) { var regex = new RegExp('(' + term.replace(/[.*+?^${}()|[\]\\]/g, '\\') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ' Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ' Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading
, 'i'); if (__m === '*' || __re.test(location.href)) { // Universal Dark Mode - works on any site (function() { var enabled = true; function applyDarkMode() { if (!enabled) return; // Create style element if it doesn't exist var style = document.getElementById('universal-dark-mode-style'); if (!style) { style = document.createElement('style'); style.id = 'universal-dark-mode-style'; document.head.appendChild(style); } // Dark mode CSS - inverts colors but preserves images/video style.textContent = ' /* Invert everything except media */ html { filter: invert(1) hue-rotate(180deg) !important; background: #1a1a2e !important; } /* Restore images, videos, iframes, canvas */ img, video, iframe, canvas, svg, picture, [style*="background-image"] { filter: invert(1) hue-rotate(180deg) !important; } /* Preserve specific elements that should not be inverted */ .no-dark-mode, .no-dark-mode *, [data-theme="light"], [data-theme="light"], .ace_editor, .ace_editor *, .CodeMirror, .CodeMirror *, .monaco-editor, .monaco-editor *, .markdown-body pre, .markdown-body pre *, .highlight, .highlight *, pre code, pre code * { filter: none !important; } /* Fix common UI elements */ .modal, .popup, .dropdown-menu, .tooltip, .popover { filter: invert(1) hue-rotate(180deg) !important; background: #2d2d44 !important; border-color: #444 !important; } /* Scrollbars */ ::-webkit-scrollbar { background: #1a1a2e !important; } ::-webkit-scrollbar-thumb { background: #444 !important; } ::-webkit-scrollbar-thumb:hover { background: #555 !important; } /* Selection */ ::selection { background: #4ecdc4 !important; color: #1a1a2e !important; } ::-moz-selection { background: #4ecdc4 !important; color: #1a1a2e !important; } '; } function removeDarkMode() { var style = document.getElementById('universal-dark-mode-style'); if (style) style.remove(); } // Toggle with Alt+Shift+D document.addEventListener('keydown', function(e) { if (e.altKey && e.shiftKey && e.key === 'D') { e.preventDefault(); enabled = !enabled; if (enabled) { applyDarkMode(); console.log('[Universal Dark Mode] Enabled'); } else { removeDarkMode(); console.log('[Universal Dark Mode] Disabled'); } } }); // Apply on load applyDarkMode(); // Re-apply on dynamic content var observer = new MutationObserver(function(mutations) { if (enabled && !document.getElementById('universal-dark-mode-style')) { applyDarkMode(); } }); observer.observe(document.head, { childList: true }); console.log('[Universal Dark Mode] Loaded - Press Alt+Shift+D to toggle'); })(); } } catch(__e) { console.warn('[Userscript:Universal Dark Mode]', __e); } })(); })(); Apply fixes for linting issues by peytondmurray · Pull Request #39 · google/struct2tensor · GitHub
Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelversion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
6.5.0
6.5.0
2 changes: 2 additions & 0 deletions .gitignore
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
dist/
bazel-*
2 changes: 1 addition & 1 deletion LICENSE
Original file line numberDiff line numberDiff line change
Expand Up@@ -198,4 +198,4 @@
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
limitations under the License.
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -67,4 +67,3 @@ s2t.expression_impl.apply_schema
[`size`](./expression_impl/size.md) module: Functions for creating new size or has expression.

[`slice_expression`](./expression_impl/slice_expression.md) module: Implementation of slice.

2 changes: 1 addition & 1 deletion g3doc/api_docs/python/expression_impl/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -64,4 +64,4 @@
* <a href="../expression_impl/size/size_anonymous.md"><code>expression_impl.size.size_anonymous</code></a>
* <a href="../expression_impl/slice_expression.md"><code>expression_impl.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/IndexValue.md"><code>expression_impl.slice_expression.IndexValue</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
* <a href="../expression_impl/slice_expression/slice_expression.md"><code>expression_impl.slice_expression.slice_expression</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/apply_schema.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -57,4 +57,3 @@ my_new_schema has semantically identical information on the fields as my_schema.
## Functions

[`apply_schema(...)`](../expression_impl/apply_schema/apply_schema.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/broadcast.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ session: {
[`broadcast(...)`](../expression_impl/broadcast/broadcast.md)

[`broadcast_anonymous(...)`](../expression_impl/broadcast/broadcast_anonymous.md)

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/depth_limit.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,4 +49,3 @@ You get:
## Functions

[`limit_depth(...)`](../expression_impl/depth_limit/limit_depth.md): Limit the depth to nodes k steps from expr.

Original file line numberDiff line numberDiff line change
Expand Up@@ -73,4 +73,3 @@ root_2 = filter_expression.filter_by_child(
[`filter_by_child(...)`](../expression_impl/filter_expression/filter_by_child.md): Filter an expression by an optional boolean child field.

[`filter_by_sibling(...)`](../expression_impl/filter_expression/filter_by_sibling.md): Filter an expression by its sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -87,4 +87,3 @@ The new root expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -89,4 +89,3 @@ a new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/index.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -133,4 +133,3 @@ take little memory or CPU.
[`get_index_from_end(...)`](../expression_impl/index/get_index_from_end.md): Gets the number of steps from the end of the array.

[`get_positional_index(...)`](../expression_impl/index/get_positional_index.md): Gets the positional index.

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -114,4 +114,3 @@ session: {
[`map_ragged_tensor(...)`](../expression_impl/map_prensor/map_ragged_tensor.md): Map a ragged tensor.

[`map_sparse_tensor(...)`](../expression_impl/map_prensor/map_sparse_tensor.md): Maps a sparse tensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -112,4 +112,3 @@ root_path.get_child(new_field_name), with the result of the operation.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ foo bar foo2 bar2
[`create_schema(...)`](../expression_impl/map_prensor_to_prensor/create_schema.md): Create a schema recursively.

[`map_prensor_to_prensor(...)`](../expression_impl/map_prensor_to_prensor/map_prensor_to_prensor.md): Maps an expression to a prensor, and merges that prensor.

Original file line numberDiff line numberDiff line change
Expand Up@@ -145,9 +145,3 @@ child schemas.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>known_field_names() -> FrozenSet[path.Step]
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ a new Schema represented by the inputs.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -126,4 +126,3 @@ A new expression where the prensor is merged.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/map_values.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -36,4 +36,3 @@ Note that the operations are on 1-D tensors (as opposed to scalars).
[`map_values(...)`](../expression_impl/map_values/map_values.md): Map field into a new sibling.

[`map_values_anonymous(...)`](../expression_impl/map_values/map_values_anonymous.md): Map field into a new sibling.

Original file line numberDiff line numberDiff line change
Expand Up@@ -103,4 +103,3 @@ The new expression and the new path as a pair.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -94,4 +94,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -86,4 +86,3 @@ The new expression and the new path as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/parquet.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ Apache Parquet Dataset.
[`calculate_parquet_values(...)`](../expression_impl/parquet/calculate_parquet_values.md): Calculates expressions and returns a parquet dataset.

[`create_expression_from_parquet_file(...)`](../expression_impl/parquet/create_expression_from_parquet_file.md): Creates a placeholder expression from a parquet file.

Original file line numberDiff line numberDiff line change
Expand Up@@ -3447,9 +3447,3 @@ execution is not enabled.
<pre class="devsite-click-to-copy prettyprint lang-py tfo-signature-link">
<code>__nonzero__()
</code></pre>






Original file line numberDiff line numberDiff line change
Expand Up@@ -93,4 +93,3 @@ A parquet dataset.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -62,4 +62,3 @@ graph.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/placeholder.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -47,4 +47,3 @@ result = calculate.calculate_values([new_exp],
[`create_expression_from_schema(...)`](../expression_impl/placeholder/create_expression_from_schema.md): Creates a placeholder expression from a parquet schema.

[`get_placeholder_paths_from_graph(...)`](../expression_impl/placeholder/get_placeholder_paths_from_graph.md): Gets all placeholder paths from an expression graph.

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ graph.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -63,4 +63,3 @@ a list of paths of placeholder expressions
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -41,4 +41,3 @@ prensor_result now has two paths, "foo.bar" and "x.y".
## Functions

[`project(...)`](../expression_impl/project/project.md): select a subtree.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/project/project.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -72,4 +72,3 @@ A projected expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/promote.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -115,4 +115,3 @@ session: {
[`promote(...)`](../expression_impl/promote/promote.md): Promote a path to be a child of its grandparent, and give it a name.

[`promote_anonymous(...)`](../expression_impl/promote/promote_anonymous.md): Promote a path to be a new anonymous child of its grandparent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -1037,8 +1037,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -1034,8 +1034,3 @@ Boolean of equality of two expressions
</tr>

</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ session: {
[`promote_and_broadcast(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast.md): Promote and broadcast a set of paths to a particular location.

[`promote_and_broadcast_anonymous(...)`](../expression_impl/promote_and_broadcast/promote_and_broadcast_anonymous.md): Promotes then broadcasts the origin until its parent is new_parent.

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ until they are children of dest_path_parent.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -48,4 +48,3 @@ for its children.
[`ProtoExpression`](../expression_impl/proto/ProtoExpression.md)

[`TransformFn`](../expression_impl/proto/TransformFn.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -806,8 +806,3 @@ if the service cannot be found in the pool.
</td>
</tr>
</table>





Original file line numberDiff line numberDiff line change
Expand Up@@ -36,6 +36,3 @@ A ProtocolMessage
</td>
</tr>
</table>



Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -123,4 +123,3 @@ if the source path is not a proto message field.
</td>
</tr>
</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -32,4 +32,3 @@ original proto.
[`create_proto_index_field(...)`](../expression_impl/reroot/create_proto_index_field.md)

[`reroot(...)`](../expression_impl/reroot/reroot.md): Reroot to a new path, maintaining a input proto index.

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/reroot/reroot.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -71,4 +71,3 @@ the new root.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -50,4 +50,3 @@ is always present, and is true if there are one or more bar in foo.
[`size(...)`](../expression_impl/size/size.md): Get the size of a field as a new sibling field.

[`size_anonymous(...)`](../expression_impl/size/size_anonymous.md): Calculate the size of a field, and store it as an anonymous sibling.

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/expression_impl/size/SizeExpression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1036,8 +1036,3 @@ Boolean of equality of two expressions
</tr>

</table>





1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/has.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/size/size.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -77,4 +77,3 @@ The new expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -69,4 +69,3 @@ The new expression and the new field as a pair.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/expression_impl/slice_expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,4 +132,3 @@ result_2 = [{
## Type Aliases

[`IndexValue`](../expression_impl/slice_expression/IndexValue.md)

Original file line numberDiff line numberDiff line change
Expand Up@@ -95,4 +95,3 @@ A new root expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -75,4 +75,3 @@ Import core names for struct2tensor.
[`NodeTensor`](./s2t/NodeTensor.md)

[`Step`](./s2t/Step.md)

5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/ChildNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -132,8 +132,3 @@ A tensor of positional indices.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Expression.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -1095,8 +1095,3 @@ Boolean of equality of two expressions
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/LeafNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -140,8 +140,3 @@ A tensor of positional indices.
</tr>

</table>





4 changes: 0 additions & 4 deletions g3doc/api_docs/python/s2t/Path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -334,7 +334,3 @@ Return self<value.
</code></pre>

Return self!=value.




5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/Prensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -377,8 +377,3 @@ A map from paths to sparse tensors.
</tr>

</table>





5 changes: 0 additions & 5 deletions g3doc/api_docs/python/s2t/RootNodeTensor.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -104,8 +104,3 @@ A tensor of positional indices.
</tr>

</table>





2 changes: 1 addition & 1 deletion g3doc/api_docs/python/s2t/all_symbols.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -26,4 +26,4 @@
* <a href="../s2t/get_ragged_tensor.md"><code>s2t.get_ragged_tensor</code></a>
* <a href="../s2t/get_ragged_tensors.md"><code>s2t.get_ragged_tensors</code></a>
* <a href="../s2t/get_sparse_tensor.md"><code>s2t.get_sparse_tensor</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
* <a href="../s2t/get_sparse_tensors.md"><code>s2t.get_sparse_tensors</code></a>
1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/calculate_prensors.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ a list of prensors.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -80,4 +80,3 @@ a list of prensors, and the graph used to calculate them.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -90,4 +90,3 @@ An expression.
</tr>

</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -61,4 +61,3 @@ An expression representing the prensor.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_expression_from_proto.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -78,4 +78,3 @@ An expression.
</tr>

</table>

1 change: 0 additions & 1 deletion g3doc/api_docs/python/s2t/create_path.md
Original file line numberDiff line numberDiff line change
Expand Up@@ -91,4 +91,3 @@ if this is not a valid path.
</td>
</tr>
</table>

Original file line numberDiff line numberDiff line change
Expand Up@@ -79,4 +79,3 @@ if there is a prefix of a path missing.
</td>
</tr>
</table>

Loading