Home
last modified time | relevance | path

Searched refs:ConcreteFunction (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/cc/saved_model/experimental/public/
Dconcrete_function.h31 class ConcreteFunction final {
45 static ConcreteFunction* wrap(TF_ConcreteFunction* p) { in wrap()
46 return reinterpret_cast<ConcreteFunction*>(p); in wrap()
48 static TF_ConcreteFunction* unwrap(ConcreteFunction* p) { in unwrap()
53 inline const FunctionMetadata* ConcreteFunction::GetFunctionMetadata() { in GetFunctionMetadata()
Dconcrete_function_list.h33 std::vector<ConcreteFunction*> ToVector();
48 inline std::vector<ConcreteFunction*> ConcreteFunctionList::ToVector() { in ToVector()
50 std::vector<ConcreteFunction*> result; in ToVector()
54 ConcreteFunction::wrap(TF_ConcreteFunctionListGet(list_.get(), i))); in ToVector()
Dsaved_model_api.h71 ConcreteFunction* GetConcreteFunction(const std::string& function_path,
131 inline ConcreteFunction* SavedModelAPI::GetConcreteFunction( in GetConcreteFunction()
138 return ConcreteFunction::wrap(function); in GetConcreteFunction()
Dfunction_metadata.h34 friend class ConcreteFunction;
/external/desugar/test/java/com/google/devtools/build/android/desugar/
DDesugarFunctionalTest.java24 import com.google.devtools.build.android.desugar.testdata.ConcreteFunction;
273 assertThat(new ConcreteFunction().apply("1234567890987654321")).isEqualTo(1234567890987654321L); in testConcreteFunctionWithInheritedBridgeMethods()
274 assertThat(ConcreteFunction.parseAll(ImmutableList.of("5", "17"), new ConcreteFunction())) in testConcreteFunctionWithInheritedBridgeMethods()
280 assertThat(ConcreteFunction.toInt().apply("123456789")).isEqualTo(123456789); in testLambdaWithInheritedBridgeMethods()
281 assertThat(ConcreteFunction.parseAll(ImmutableList.of("5", "17"), ConcreteFunction.toInt())) in testLambdaWithInheritedBridgeMethods()
284 assertThat(ConcreteFunction.toInt().getClass().getDeclaredMethods()) in testLambdaWithInheritedBridgeMethods()
288 ConcreteFunction.toInt().getClass().getDeclaredField("DO_NOT_COPY_INTO_LAMBDA_CLASSES"); in testLambdaWithInheritedBridgeMethods()
298 assertThat(ConcreteFunction.isInt().test(123456789L)).isTrue(); in testLambdaWithBridgeMethodsForInterfaceInSeparateTarget()
300 ConcreteFunction.doFilter( in testLambdaWithBridgeMethodsForInterfaceInSeparateTarget()
302 ConcreteFunction.isInt())) in testLambdaWithBridgeMethodsForInterfaceInSeparateTarget()
[all …]
Dtestdata_desugared_for_disabling_twr_with_large_minsdkversion_jar_toc_golden.txt18 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$Parser.class
19 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$SpecializedParser.class
20 com/google/devtools/build/android/desugar/testdata/ConcreteFunction.class
44 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$0.class
45 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$1.class
Dtestdata_desugared_for_try_with_resources_jar_toc_golden.txt18 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$Parser.class
19 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$SpecializedParser.class
20 com/google/devtools/build/android/desugar/testdata/ConcreteFunction.class
44 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$0.class
45 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$1.class
Dtestdata_desugared_jar_toc_golden.txt18 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$Parser.class
19 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$SpecializedParser.class
20 com/google/devtools/build/android/desugar/testdata/ConcreteFunction.class
44 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$0.class
45 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$1.class
Dtestdata_desugared_without_lambda_desugared_jar_toc_golden.txt17 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$Parser.class
18 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$SpecializedParser.class
19 com/google/devtools/build/android/desugar/testdata/ConcreteFunction.class
Dtestdata_desugared_java8_jar_toc_golden.txt18 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$Parser.class
19 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$SpecializedParser.class
20 com/google/devtools/build/android/desugar/testdata/ConcreteFunction.class
114 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$0.class
115 com/google/devtools/build/android/desugar/testdata/ConcreteFunction$$Lambda$1.class
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dconcrete_function.h41 class ConcreteFunction {
43 virtual ~ConcreteFunction() = default;
Dsaved_model_api.h41 ConcreteFunction** function) = 0;
Dtf_saved_model_api.h58 ConcreteFunction** function) override;
Dtf_saved_model_api.cc176 ConcreteFunction** function) { in GetFunction()
/external/tensorflow/tensorflow/python/saved_model/
Dsignature_serialization.py47 if not isinstance(function, defun.ConcreteFunction):
258 if isinstance(value, (def_function.Function, defun.ConcreteFunction))
284 assert isinstance(func, defun.ConcreteFunction)
Dfunction_serialization.py158 inner_concrete = defun.ConcreteFunction(concrete_function.graph)
168 fn = defun.ConcreteFunction(
/external/tensorflow/tensorflow/c/experimental/saved_model/internal/
Dconcrete_function_list_type.h27 std::vector<tensorflow::ConcreteFunction*> list;
Dconcrete_function_type.h32 DEFINE_CONVERSION_FUNCTIONS(tensorflow::ConcreteFunction, TF_ConcreteFunction)
Dsaved_model_api.cc100 tensorflow::ConcreteFunction* result = nullptr; in TF_GetSavedModelConcreteFunction()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/revived_types/
Dtf_concrete_function.h38 class TFConcreteFunction : public ConcreteFunction {
/external/tensorflow/tensorflow/c/experimental/saved_model/public/
DREADME.md3 ## Small ConcreteFunction Example
/external/tensorflow/tensorflow/python/eager/
Dfunction.cc21 struct ConcreteFunction; // Forward declaration.
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/
DConcreteFunction.java21 public class ConcreteFunction implements SpecializedFunction<String, Long> { class
/external/tensorflow/tensorflow/core/protobuf/
Dsaved_object_graph.proto130 // The spec of the function that this ConcreteFunction is traced from. This
131 // allows the ConcreteFunction to be called with nest structure inputs. This
134 // TODO(b/169361281): support calling saved ConcreteFunction with structured
/external/tensorflow/tensorflow/python/distribute/coordinator/
Dcluster_coordinator.py365 elif isinstance(function, tf_function.ConcreteFunction):
1104 (def_function.Function, tf_function.ConcreteFunction)):
1322 elif not isinstance(dataset_fn, tf_function.ConcreteFunction):

12