- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for add_function (0.16 sec)
-
tensorflow/cc/gradients/functional_grad_test.cc
EXPECT_LT(max_error, 1e-3); } Scope scope_; }; TEST_F(FunctionGradTest, PartitionedCallGrad) { FunctionDefLibrary f_lib_proto; *(f_lib_proto.add_function()) = test::function::XTimesTwo(); // Construct a graph: // A = Placeholder[dtype=int32] // B = XTimesTwo[_tpu_replicate="cluster"](A) // C = XTimesTwo[_xla_compile_id="cluster"](A)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 26 14:42:24 UTC 2021 - 3K bytes - Viewed (0) -
tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc
{{"c", "t0:y:0"}}); AttrValue true_attribute; true_attribute.set_b(true); (*called_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute; *library.add_function() = called_func; TF_ASSERT_OK(root.graph()->AddFunctionLibrary(library)); FunctionLibraryDefinition flib_def(OpRegistry::Global(), library); Output in = ops::Placeholder(root, DT_FLOAT);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/jit/tests/device_compiler_test_helper.cc
{{"k"}, "Add", {"j", "h"}, {{"T", DT_FLOAT}}}, {{"l"}, "Add", {"k", "h"}, {{"T", DT_FLOAT}}}, {{"m"}, "Identity", {"l"}, {{"T", DT_FLOAT}}}}); GraphDef graph; *graph.mutable_library()->add_function() = make_test_fn; *graph.add_node() = MakeNode("a", "Placeholder", {}, {{"dtype", DT_FLOAT}, {"shape", input_shape}}); *graph.add_node() = MakeNode("b", "Placeholder", {},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 08:24:16 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator_test.cc
TF_CHECK_OK(DeviceFactory::AddDevices( options, "/job:localhost/replica:0/task:0", &devices)); FunctionDefLibrary proto; for (const auto& fdef : flib) { *(proto.add_function()) = fdef; } lib_def_ = std::make_unique<FunctionLibraryDefinition>( OpRegistry::Global(), proto); OptimizerOptions opts; device_mgr_ = std::make_unique<StaticDeviceMgr>(std::move(devices));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 01:39:55 UTC 2023 - 5.7K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/impl/KtDeclarationRendererForDebug.kt
singleTypeParameterRenderer = KaSingleTypeParameterSymbolRenderer.WITHOUT_BOUNDS samConstructorRenderer = KaSamConstructorSymbolRenderer.AS_FUNCTION typeRenderer = KaTypeRendererForDebug.WITH_QUALIFIED_NAMES declarationTypeApproximator = KaRendererTypeApproximator.NO_APPROXIMATION }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu May 23 16:12:19 UTC 2024 - 2.1K bytes - Viewed (0) -
analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/renderer/declarations/renderers/callables/KtSamConstructorSymbolRenderer.kt
symbol: KaSamConstructorSymbol, declarationRenderer: KaDeclarationRenderer, printer: PrettyPrinter, ) { printer {} } } public object AS_FUNCTION : KaSamConstructorSymbolRenderer { override fun renderSymbol( analysisSession: KaSession, symbol: KaSamConstructorSymbol, declarationRenderer: KaDeclarationRenderer,
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.7K bytes - Viewed (0)