Home
last modified time | relevance | path

Searched refs:source_idx (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Ddistribution_util.py497 def move_dimension(x, source_idx, dest_idx): argument
526 if isinstance(source_idx, int):
529 dtype = dtypes.as_dtype(source_idx.dtype)
533 if source_idx < 0:
534 source_idx = ndims + source_idx
544 [source_idx],
545 math_ops.range(dest_idx, source_idx, dtype=dtype),
546 math_ops.range(source_idx+1, ndims, dtype=dtype)], axis=0))
551 math_ops.range(0, source_idx, dtype=dtype),
552 math_ops.range(source_idx+1, dest_idx+1, dtype=dtype),
[all …]
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler.cc296 const int source_idx = static_cast<int>(virtual_source_idx_); in Resample() local
297 const double subsample_remainder = virtual_source_idx_ - source_idx; in Resample()
314 const float* const input_ptr = r1_ + source_idx; in Resample()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc2330 IrArray::Index source_idx = in EmitFullElementalTile() local
2337 IrArray::Index source_idx_y = source_idx.AddOffsetToDim( in EmitFullElementalTile()
2369 IrArray::Index source_idx = in EmitPartialElementalTile() local
2374 source_idx.AddOffsetToDim(llvm::ConstantInt::get(index_ty, j * step_x), in EmitPartialElementalTile()