- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for transform_ast (0.36 sec)
-
tensorflow/compiler/mlir/tfr/python/op_reg_gen.py
cxx_reg_code[-1] += ';\n' self.emit('\n '.join(cxx_reg_code)) class OpRegGen(transpiler.GenericTranspiler): """Transforms Python objects into TFR MLIR source code.""" def transform_ast(self, node, ctx): gen = OpRegGenImpl(ctx) gen.visit(node) return gen.code_buffer def op_reg_gen(func): """Parse a function and emit the TFR functions."""
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Sep 28 21:37:05 UTC 2021 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
# copied from PyToTF.transform_ast node = return_statements.transform(node, ctx, False) node = control_flow.transform(node, ctx) return node class TfrGen(transpiler.GenericTranspiler): """Transforms Python objects into TFR MLIR source code.""" def __init__(self, op_defs): self._op_defs = op_defs def transform_ast(self, node, ctx):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/transform_test.go
Johan Brandhorst-Satzkorn <******@****.***> 1679759419 -0700
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 06 22:37:50 UTC 2023 - 2.3K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/TaskFilePropertiesIntegrationTest.groovy
def "task can use Path to represent input and output locations on annotated properties"() { buildFile """ import java.nio.file.Path import java.nio.file.Files class TransformTask extends DefaultTask { @InputFile Path inputFile @InputDirectory Path inputDir @OutputFile Path outputFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/tests/mlir_transform_test.cc
#include "tensorflow/core/platform/resource_loader.h" #include "tensorflow/core/platform/statusor.h" #include "tensorflow/core/platform/test.h" namespace tf { namespace libtf { TEST(TransformTest, LoadSavedModel) { Object mlir = MLIR(); TF_ASSERT_OK_AND_ASSIGN(Callable load, mlir.Get<Callable>(String("LoadSavedModel"))); TF_ASSERT_OK_AND_ASSIGN( Handle model_bad,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 15 16:58:38 UTC 2021 - 1.9K bytes - Viewed (0)