Home
last modified time | relevance | path

Searched refs:outputter (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/python/saved_model/model_utils/
Dexport_output_test.py252 outputter = MockSupervisedOutput(loss, predictions, metrics)
253 self.assertEqual(outputter.loss['loss/my_loss'], loss['my_loss'])
255 outputter.predictions['predictions/output1'], predictions['output1'])
256 self.assertEqual(outputter.metrics['metrics/update_op'].name,
259 outputter.metrics['metrics2/update_op'], metrics['metrics2'][1])
262 outputter = MockSupervisedOutput(
264 self.assertEqual(outputter.loss, {'loss': loss['my_loss']})
266 outputter.predictions, {'predictions': predictions['output1']})
267 self.assertEqual(outputter.metrics['metrics/update_op'].name,
271 outputter = MockSupervisedOutput(
[all …]
/external/dagger2/java/dagger/example/atm/
DWithdrawCommand.java25 private final Outputter outputter; field in WithdrawCommand
32 Outputter outputter, in WithdrawCommand() argument
36 super(outputter); in WithdrawCommand()
37 this.outputter = outputter; in WithdrawCommand()
47 outputter.output( in handleAmount()
56 outputter.output( in handleAmount()
64 outputter.output("your new balance is: " + account.balance()); in handleAmount()
DBigDecimalCommand.java27 private final Outputter outputter; field in BigDecimalCommand
29 protected BigDecimalCommand(Outputter outputter) { in BigDecimalCommand() argument
30 this.outputter = outputter; in BigDecimalCommand()
37 outputter.output(arg + " is not a valid number"); in handleArg()
39 outputter.output("amount must be positive"); in handleArg()
DDepositCommand.java25 private final Outputter outputter; field in DepositCommand
30 DepositCommand(Outputter outputter, Account account, WithdrawalLimiter withdrawalLimiter) { in DepositCommand() argument
31 super(outputter); in DepositCommand()
32 this.outputter = outputter; in DepositCommand()
41 outputter.output("your new balance is: " + account.balance()); in handleAmount()
DLoginCommand.java25 private final Outputter outputter; field in LoginCommand
31 Outputter outputter, in LoginCommand() argument
34 this.outputter = outputter; in LoginCommand()
45 outputter.output(loggedInUser + " is already logged in"); in handleArg()
47 outputter.output("run `logout` first before trying to log in another user"); in handleArg()
DHelloWorldCommand.java23 private final Outputter outputter; field in HelloWorldCommand
26 HelloWorldCommand(Outputter outputter) { in HelloWorldCommand() argument
27 this.outputter = outputter; in HelloWorldCommand()
35 outputter.output("howdy!"); in handleInput()
DLogoutCommand.java26 private final Outputter outputter; field in LogoutCommand
30 LogoutCommand(Outputter outputter, Account account) { in LogoutCommand() argument
31 this.outputter = outputter; in LogoutCommand()
40 outputter.output("logged out " + account.username()); in handleInput()
DCommandRouter.java29 private final Outputter outputter; field in CommandRouter
32 CommandRouter(Map<String, Command> commands, Outputter outputter) { in CommandRouter() argument
34 this.outputter = outputter; in CommandRouter()
59 outputter.output(String.format("couldn't understand \"%s\". please try again.", input)); in invalidCommand()
/external/image_io/includes/image_io/utils/
Dstring_outputter_message_writer.h14 explicit StringOutputterMessageWriter(const StringOutputter& outputter) in StringOutputterMessageWriter() argument
15 : outputter_(outputter) {} in StringOutputterMessageWriter()
Dmessage_stats_writer.h24 const std::string& name, const StringOutputter& outputter) in MessageStatsWriter() argument
25 : stats_(message_stats), outputter_(outputter), name_(name) {} in MessageStatsWriter()