Searched refs:sample_rate_tensor (Results 1 – 5 of 5) sorted by relevance
39 const Tensor& sample_rate_tensor = context->input(1); in Compute() local40 OP_REQUIRES(context, TensorShapeUtils::IsScalar(sample_rate_tensor.shape()), in Compute()43 sample_rate_tensor.shape().DebugString(), " instead.")); in Compute()44 const int32 sample_rate = sample_rate_tensor.scalar<int32>()(); in Compute()
47 const Tensor& sample_rate_tensor = context->input(1); in Compute() local48 OP_REQUIRES(context, TensorShapeUtils::IsScalar(sample_rate_tensor.shape()), in Compute()51 sample_rate_tensor.shape().DebugString(), " instead.")); in Compute()52 const int32 sample_rate = sample_rate_tensor.scalar<int32>()(); in Compute()
51 const Tensor& sample_rate_tensor = c->input(2); in Compute() local52 sample_rate = sample_rate_tensor.scalar<float>()(); in Compute()
238 Tensor sample_rate_tensor(tensorflow::DT_INT32, tensorflow::TensorShape({})); in main() local239 sample_rate_tensor.scalar<int32>()() = sample_rate; in main()257 {input_rate_name, sample_rate_tensor}}, in main()
139 sample_rate_tensor = sess.graph.get_tensor_by_name(FLAGS.input_names[1])151 sample_rate_tensor: