Searched refs:fn_args (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/python/util/ |
D | function_utils_test.py | 42 self.assertEqual(('a', 'b'), function_utils.fn_args(fn)) 51 self.assertEqual(('a', 'b'), function_utils.fn_args(Foo())) 60 self.assertEqual(('a', 'b'), function_utils.fn_args(Foo().bar)) 69 self.assertEqual((), function_utils.fn_args(Foo().bar)) 81 self.assertEqual(('a',), function_utils.fn_args(wrapped_fn)) 93 self.assertEqual(('a',), function_utils.fn_args(wrapped_fn)) 110 self.assertEqual(('a',), function_utils.fn_args(double_wrapped_fn)) 124 self.assertEqual(('a',), function_utils.fn_args(double_wrapped_fn)) 141 self.assertEqual(('a',), function_utils.fn_args(double_wrapped_fn))
|
D | function_utils.py | 39 def fn_args(fn): function 52 args = fn_args(fn.func)
|
/external/bcc/src/cc/ |
D | bpf_module_rw_engine.cc | 242 vector<Type *> fn_args({B.getInt8PtrTy(), PointerType::getUnqual(type)}); in make_reader() local 243 FunctionType *fn_type = FunctionType::get(B.getInt32Ty(), fn_args, /*isVarArg=*/false); in make_reader() 302 vector<Type *> fn_args({B.getInt8PtrTy(), B.getInt64Ty(), PointerType::getUnqual(type)}); in make_writer() local 303 FunctionType *fn_type = FunctionType::get(B.getInt32Ty(), fn_args, /*isVarArg=*/false); in make_writer()
|
/external/tensorflow/tensorflow/python/keras/legacy_tf_layers/ |
D | base.py | 554 self._call_fn_args = fn_args(self.call) 610 def fn_args(fn): function 623 args = fn_args(fn.func)
|
/external/rust/crates/bindgen/src/codegen/ |
D | mod.rs | 3927 let fn_args = utils::fnsig_arguments(ctx, signature); in objc_method_codegen() localVariable 3931 let fn_args = fn_args.clone(); in objc_method_codegen() localVariable 3933 ( #( #fn_args ),* ) #fn_ret in objc_method_codegen() 3936 let fn_args = fn_args.clone(); in objc_method_codegen() localVariable 3937 let args = iter::once(quote! { &self }).chain(fn_args.into_iter()); in objc_method_codegen() 3943 let methods_and_args = method.format_method_call(&fn_args); in objc_method_codegen()
|
/external/tensorflow/tensorflow/python/training/ |
D | monitored_session.py | 819 step_fn_arguments = function_utils.fn_args(step_fn)
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 255 tuple(function_utils.fn_args(tc.test_method_allowlisted)))
|
/external/tensorflow/tensorflow/python/ops/ |
D | variable_scope.py | 571 if ("constraint" in function_utils.fn_args(custom_getter) or
|