HomeSort by relevance Sort by last modified time
    Searched defs:add_variable (Results 1 - 9 of 9) sorted by null

  /external/tensorflow/tensorflow/contrib/eager/python/
metrics_impl.py 82 `self.add_variable()` as in: `self.var = self.add_variable(...)`
105 # be used as a variable prefix when build() calls add_variable().
244 def add_variable(self, name, shape=None, dtype=None, initializer=None): member in class:Metric
247 raise RuntimeError("Can't call add_variable() except in build().")
278 self.numer = self.add_variable(name="numer", shape=(),
281 self.denom = self.add_variable(name="denom", shape=(),
checkpointable_utils.py 91 def add_variable(checkpointable, name, shape=None, dtype=dtypes.float32, function
119 # naming scheme is being patched in to things like Layer.add_variable where
network.py 110 # - Do we allow add_variable in Network?
447 def add_variable(self, name, shape, dtype=None, initializer=None, member in class:Network
450 "add_variable not supported in Network class yet. Please file an issue "
    [all...]
checkpointable_utils_test.py 52 def add_variable(self, name, shape, **kwargs): member in class:CheckpointableDenseLayer
53 # Calls both Checkpointable._add_variable and Layer.add_variable. Eventually
54 # Layer.add_variable should inherit from Checkpointable and simply call
60 getter=functools.partial(core.Dense.add_variable, self),
81 # NOTE: Copied from Optimizer with modifications to use add_variable
117 self.a_variable = checkpointable_utils.add_variable(
156 self._save_counter = checkpointable_utils.add_variable(
184 checkpointable_utils.add_variable(
186 constant_initializer = checkpointable_utils.add_variable(
189 ones_initializer = checkpointable_utils.add_variable(
    [all...]
  /build/make/tools/atree/
atree.cpp 66 add_variable(const char* arg) { function
151 if (!add_variable(optarg)) {
  /external/mesa3d/src/compiler/glsl/
glsl_symbol_table.cpp 133 bool glsl_symbol_table::add_variable(ir_variable *v) function in class:glsl_symbol_table
builtin_variables.cpp 388 return add_variable(name, type, ir_var_shader_in, slot);
393 return add_variable(name, type, ir_var_shader_out, slot);
404 return add_variable(name, type, ir_var_system_value, slot);
407 ir_variable *add_variable(const char *name, const glsl_type *type,
493 symtab->add_variable(var);
498 builtin_variable_generator::add_variable(const char *name, function in class:__anon29173::builtin_variable_generator
533 symtab->add_variable(var);
552 ir_variable *const uni = add_variable(name, type, ir_var_uniform, -1);
590 ir_variable *const var = add_variable(name, glsl_type::int_type,
603 ir_variable *const var = add_variable(name, glsl_type::ivec3_type
    [all...]
  /external/tensorflow/tensorflow/python/keras/_impl/keras/engine/
topology.py 218 weight = self.add_variable(name, shape,
791 def add_variable(self, name, shape, dtype=None, initializer=None, member in class:Network
793 raise NotImplementedError('`add_variable` is not supported on Networks')
    [all...]
  /external/tensorflow/tensorflow/python/layers/
base.py 59 and `dtype`. Should have the calls to `add_variable()`, and then
340 variable regularizers may be added through `add_variable`. Activity
469 def add_variable(self, name, shape, dtype=None, member in class:Layer
    [all...]

Completed in 141 milliseconds