Home
last modified time | relevance | path

Searched refs:batch_var (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dfused_batch_norm_op.cc86 typename TTypes<U>::Vec batch_var(batch_var_output->vec<U>()); in operator ()() local
131 batch_var.device(d) = variance * rest_size_adjust; in operator ()()
246 Tensor* batch_mean, Tensor* batch_var, Tensor* saved_mean, in operator ()()
268 f(context->eigen_device<GPUDevice>(), batch_var->flat<U>()); in operator ()()
326 auto batch_var_ptr = StreamExecutorUtil::AsDeviceMemory<U>(*batch_var); in operator ()()
577 Tensor* batch_var = nullptr; in Compute() local
579 context->allocate_output(2, scale.shape(), &batch_var)); in Compute()
589 y, batch_mean, batch_var, saved_mean, saved_maybe_inv_var, in Compute()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler_test.cc274 auto batch_var = batch_norm.batch_variance; in CreateGrapplerItemWithBatchNorm() local
277 auto z2 = ops::Add(s.WithOpName("z2"), batch_var, batch_var); in CreateGrapplerItemWithBatchNorm()
278 auto z3 = ops::Add(s.WithOpName("z3"), batch_var, batch_var); in CreateGrapplerItemWithBatchNorm()
285 auto z4 = ops::NoOp(s.WithControlDependencies(batch_var).WithOpName("z4")); in CreateGrapplerItemWithBatchNorm()
1562 auto batch_var = batch_norm.batch_variance; in CreateGrapplerItemWithInterDeviceTransfers() local
1571 ops::Identity(s.WithOpName("batch_var1").WithDevice(kCPU1), batch_var); in CreateGrapplerItemWithInterDeviceTransfers()
/external/tensorflow/tensorflow/stream_executor/cuda/
Dcuda_dnn.h225 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean,
238 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean,
566 DeviceMemory<U>* batch_var, DeviceMemory<U>* saved_mean,
Dcuda_dnn.cc3186 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean, in DoBatchNormalizationForward() argument
3194 epsilon, y, batch_mean, batch_var, saved_mean, saved_inv_var, in DoBatchNormalizationForward()
3207 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean, in DoBatchNormalizationForward() argument
3215 epsilon, y, batch_mean, batch_var, saved_mean, saved_inv_var, in DoBatchNormalizationForward()
3229 DeviceMemory<T>* y, DeviceMemory<U>* batch_mean, DeviceMemory<U>* batch_var, in DoBatchNormalizationForwardImpl() argument
3247 CHECK_EQ(batch_mean->is_null(), batch_var->is_null()) in DoBatchNormalizationForwardImpl()
3252 if (!batch_mean->is_null() && !batch_var->is_null()) { in DoBatchNormalizationForwardImpl()
3254 stream->ThenMemZero(batch_var, batch_var->size()); in DoBatchNormalizationForwardImpl()
3256 batch_var_opaque = batch_var->opaque(); in DoBatchNormalizationForwardImpl()
/external/tensorflow/tensorflow/stream_executor/rocm/
Drocm_dnn.h216 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean,
229 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean,
638 DeviceMemory<U>* batch_var, DeviceMemory<U>* saved_mean,
Drocm_dnn.cc1383 void* batch_mean, void* batch_var, in SetBatchNormForwardArgs() argument
1389 k_batchnorm_op_idx, &alpha, &beta, scale, offset, batch_mean, batch_var, in SetBatchNormForwardArgs()
3004 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean, in DoBatchNormalizationForward() argument
3011 batch_mean, batch_var, saved_mean, saved_inv_var, is_training, in DoBatchNormalizationForward()
3023 DeviceMemory<float>* batch_var, DeviceMemory<float>* saved_mean, in DoBatchNormalizationForward() argument
3030 batch_mean, batch_var, saved_mean, saved_inv_var, is_training, in DoBatchNormalizationForward()
3043 DeviceMemory<T>* y, DeviceMemory<U>* batch_mean, DeviceMemory<U>* batch_var, in DoBatchNormalizationForwardImpl() argument
3060 stream->ThenMemZero(batch_var, batch_var->size()); in DoBatchNormalizationForwardImpl()
3065 1.0, batch_mean->opaque(), batch_var->opaque(), epsilon, in DoBatchNormalizationForwardImpl()
/external/tensorflow/tensorflow/python/ops/
Dnn_impl.py1248 y, batch_mean, batch_var, _, _ = fused_batch_norm_func(
1258 return y, batch_mean, batch_var
/external/tensorflow/tensorflow/compiler/xla/client/
Dxla_builder.h579 const XlaOp& batch_mean, const XlaOp& batch_var,
986 const XlaOp& batch_mean, const XlaOp& batch_var,
1911 const XlaOp& batch_mean, const XlaOp& batch_var,
Dxla_builder.cc2095 const XlaOp& batch_mean, const XlaOp& batch_var, in BatchNormGrad() argument
2104 TF_ASSIGN_OR_RETURN(const Shape& batch_var_shape, GetShape(batch_var)); in BatchNormGrad()
2116 {operand, scale, batch_mean, batch_var, grad_output}); in BatchNormGrad()
3502 const XlaOp& batch_mean, const XlaOp& batch_var, in BatchNormGrad() argument
3505 return operand.builder()->BatchNormGrad(operand, scale, batch_mean, batch_var, in BatchNormGrad()
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h998 DeviceMemory<float>* batch_var, DeviceMemory<float>* reserve_space_1,
1015 DeviceMemory<float>* batch_var, DeviceMemory<float>* reserve_space_1,
Dstream.h240 DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean,
261 DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean,
Dstream.cc347 DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean, in ThenBatchNormalizationForward() argument
357 scale_offset_desc, epsilon, y, batch_mean, batch_var, saved_mean, in ThenBatchNormalizationForward()
397 DeviceMemory<float> *batch_var, DeviceMemory<float> *saved_mean, in ThenBatchNormalizationForward() argument
407 scale_offset_desc, epsilon, y, batch_mean, batch_var, saved_mean, in ThenBatchNormalizationForward()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Doperation_semantics.md251 | `batch_var` | `XlaOp` | 1 dimensional array (\\(\sigma^2\\)) |
253 The `batch_mean` and `batch_var` are moments calculated across the batch and