Skip to content

Function ops #327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 26, 2021
39 changes: 36 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">

<modelVersion>4.0.0</modelVersion>
Expand Down Expand Up @@ -86,7 +88,9 @@
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deployByRepositoryId/${stagingRepositoryId}/</url>
<url>
https://oss.sonatype.org/service/local/staging/deployByRepositoryId/${stagingRepositoryId}/
</url>
</repository>
</distributionManagement>

Expand Down Expand Up @@ -156,7 +160,9 @@
<repository>
<id>ossrh-staging</id>
<name>OSSRH Sonatype Staging</name>
<url>https://oss.sonatype.org/service/local/staging/deployByRepositoryId/${stagingRepositoryId}/</url>
<url>
https://oss.sonatype.org/service/local/staging/deployByRepositoryId/${stagingRepositoryId}/
</url>
<releases>
<enabled>true</enabled>
</releases>
Expand Down Expand Up @@ -230,6 +236,33 @@
</build>
</profile>

<!--
Profile to run spotless:apply on builds. Will run before format's check.
-->
<profile>
<id>apply-format</id>
<build>
<plugins>
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>${spotless.version}</version>

<executions>
<execution>
<!-- Runs in initialize phase to fail fast in case of formatting issues (should be before codegen).-->
<id>spotless-apply</id>
<phase>initialize</phase>
<goals>
<goal>apply</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<!--
Profile that enables format checks on compilation
Can auto-format using spotless:apply.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "AssertCardinalityDataset"
visibility: VISIBLE
endpoint {
name: "data.experimental.AssertCardinalityDataset"
name: "data.AssertCardinalityDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "AssertNextDataset"
visibility: VISIBLE
endpoint {
name: "data.AssertNextDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "AutoShardDataset"
visibility: VISIBLE
endpoint {
name: "data.AutoShardDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "BytesProducedStatsDataset"
visibility: VISIBLE
endpoint {
name: "data.BytesProducedStatsDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
op {
graph_op_name: "CSVDataset"
endpoint {
name: "data.CSVDataset"
}
visibility: SKIP
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "CSVDatasetV2"
visibility: VISIBLE
endpoint {
name: "data.CSVDatasetV2"
name: "data.CSVDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
op {
graph_op_name: "CacheDataset"
endpoint {
name: "data.CacheDataset"
}
visibility: SKIP
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "CacheDatasetV2"
visibility: VISIBLE
endpoint {
name: "data.CacheDatasetV2"
name: "data.CacheDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "ChooseFastestBranchDataset"
visibility: VISIBLE
endpoint {
name: "data.ChooseFastestBranchDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "ChooseFastestDataset"
visibility: VISIBLE
endpoint {
name: "data.ChooseFastestDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
op {
graph_op_name: "CompressElement"
endpoint {
name: "data.experimental.CompressElement"
name: "data.CompressElement"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
op {
graph_op_name: "DataServiceDataset"
endpoint {
name: "data.experimental.DataServiceDataset"
}
visibility: SKIP
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "DataServiceDatasetV2"
visibility: VISIBLE
endpoint {
name: "rawops.DataServiceDatasetV2"
name: "data.DataServiceDatasetV2"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DatasetCardinality"
visibility: VISIBLE
endpoint {
name: "data.DatasetCardinality"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DatasetFromGraph"
visibility: VISIBLE
endpoint {
name: "data.DatasetFromGraph"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DatasetToGraphV2"
visibility: VISIBLE
endpoint {
name: "data.DatasetToGraph"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DatasetToSingleElement"
visibility: VISIBLE
endpoint {
name: "data.DatasetToSingleElement"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DatasetToTFRecord"
visibility: VISIBLE
endpoint {
name: "data.DatasetToTfRecord"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DenseToSparseBatchDataset"
visibility: VISIBLE
endpoint {
name: "data.DenseToSparseBatchDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "DirectedInterleaveDataset"
visibility: VISIBLE
endpoint {
name: "data.DirectedInterleaveDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
op {
graph_op_name: "DummyIterationCounter"
endpoint {
name: "data.experimental.DummyIterationCounter"
name: "data.DummyIterationCounter"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
op {
graph_op_name: "DummySeedGenerator"
endpoint {
name: "random.experimental.DummySeedGenerator"
name: "random.DummySeedGenerator"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "EnqueueInQueueDataset"
visibility: VISIBLE
endpoint {
name: "data.EnqueueInQueueDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "FilterByLastComponentDataset"
visibility: VISIBLE
endpoint {
name: "data.FilterByLastComponentDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "FinalizeDataset"
visibility: VISIBLE
endpoint {
name: "rawops.FinalizeDataset"
name: "data.FinalizeDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "FixedLengthRecordDatasetV2"
visibility: VISIBLE
endpoint {
name: "data.FixedLengthRecordDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "GeneratorDataset"
visibility: VISIBLE
endpoint {
name: "data.GeneratorDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
op {
graph_op_name: "GroupByReducerDataset"
visibility: VISIBLE
endpoint {
name: "data.GroupByReducerDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "GroupByWindowDataset"
visibility: VISIBLE
endpoint {
name: "data.GroupByWindowDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "IgnoreErrorsDataset"
visibility: VISIBLE
endpoint {
name: "data.IgnoreErrorsDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "InitializeTableFromDataset"
visibility: VISIBLE
endpoint {
name: "data.InitializeTableFromDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "KafkaDataset"
visibility: VISIBLE
endpoint {
name: "data.KafkaDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "LMDBDataset"
visibility: VISIBLE
endpoint {
name: "data.LMDBDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "LatencyStatsDataset"
visibility: VISIBLE
endpoint {
name: "data.LatencyStatsDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "LegacyParallelInterleaveDatasetV2"
visibility: VISIBLE
endpoint {
name: "data.experimental.LegacyParallelInterleaveDataset"
name: "data.LegacyParallelInterleaveDataset"
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "LoadDataset"
visibility: VISIBLE
endpoint {
name: "data.LoadDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
op {
graph_op_name: "MapAndBatchDataset"
visibility: SKIP
visibility: VISIBLE
endpoint {
name: "data.MapAndBatchDataset"
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "MatchingFilesDataset"
visibility: VISIBLE
endpoint {
name: "data.MatchingFilesDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "MaxIntraOpParallelismDataset"
visibility: VISIBLE
endpoint {
name: "data.MaxIntraOpParallelismDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "ModelDataset"
visibility: VISIBLE
endpoint {
name: "data.ModelDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
op {
graph_op_name: "NonSerializableDataset"
visibility: VISIBLE
endpoint {
name: "data.NonSerializableDataset"
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
op {
graph_op_name: "OptimizeDataset"
endpoint {
name: "data.OptimizeDataset"
}
visibility: SKIP
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
op {
graph_op_name: "OptimizeDatasetV2"
visibility: VISIBLE
endpoint {
name: "data.OptimizeDatasetV2"
name: "data.OptimizeDataset"
}
}
Loading