- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for output_shapes (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
const mlir::TensorType cluster_func_output_type, const xla::OpSharding& output_sharding, mlir::Type* tiled_logical_computation_type) { const auto output_shape = cluster_func_output_type.getShape(); auto new_output_shape = llvm::to_vector<4>(output_shape); auto dimension_to_splits_map = GetDimensionIndicesAndNumSplitsFromSharding(output_sharding); if (!dimension_to_splits_map.ok()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc
} // Gather shapes for output. for (auto v : ddn.lhs_batch_dimensions()) { output_shape.push_back(lhs_shape[v]); } // Batch dimension is gathered from the right side. if (output_shape.empty()) { for (auto v : ddn.rhs_batch_dimensions()) { output_shape.push_back(rhs_shape[v]); } } // Gather remaining dimensions.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 47.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-quant.mlir
%weight_scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32> %weight_zps = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32> %output_scales = "tf.Const"() { value = dense<3.0> : tensor<f32> } : () -> tensor<f32> %output_zps = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32> // CHECK-DAG: %[[RHS:.*]] = mhlo.constant()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 01:25:29 UTC 2024 - 37.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util.cc
const xla::HloInputOutputAliasConfig& input_output_alias, absl::Span<const int> input_mapping, const std::map<int, const Tensor*>& resource_vars_snapshots, DataType output_dtype, const TensorShape& output_shape, Allocator* output_allocator, bool allocate_xla_tensors, se::Stream* stream, bool use_multiple_streams, std::shared_ptr<se::Event> definition_event) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc
return ConvertTensor(t, builder); } void ConvertToTensorShapeProto(ArrayRef<int64_t> shape, TensorShapeProto* output_shape) { for (auto d : shape) { output_shape->add_dim()->set_size(ShapedType::isDynamic(d) ? kTFDynamicSize : d); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 20.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/quantize.mlir
%output_shape = arith.constant dense<[2, 3, 2, 2048]> : tensor<4xi32> %f16_weights = "tfl.pseudo_const"() {value = dense<1.0> : tensor<4x2x2x2048xf16>} : () -> tensor<4x2x2x2048xf16> %dq_weights = "tfl.dequantize"(%f16_weights) : (tensor<4x2x2x2048xf16>) -> tensor<4x2x2x2048xf32> %bias = "tfl.no_value"() {value} : () -> none
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:10:13 UTC 2024 - 39.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.h
// HLO-level inputs are supplied, and HLO-level outputs are produced. // xla_params is the HLO-level inputs and returns is the HLO-level outputs. // If unconditionally_use_output_shapes is true then the unregistered // attribute _output_shapes is always used to set the output shapes of the ops. ABSL_DEPRECATED( "Use v1/compile_tf_graph.h::CompileTensorflowGraphToHlo instead.") Status BuildHloFromGraph( const Graph& graph, xla::XlaBuilder& builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 17:24:39 UTC 2024 - 10.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir
%bias_scales = "tf.Const"() { value = dense<2.0> : tensor<f32> } : () -> tensor<f32> %bias_zps = "tf.Const"() { value = dense<4> : tensor<i32> } : () -> tensor<i32> %output_scales = "tf.Const"() { value = dense<2.0> : tensor<f32> } : () -> tensor<f32> %output_zps = "tf.Const"() { value = dense<4> : tensor<i32> } : () -> tensor<i32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc
CompileTimeConstantOperand<TF::SegmentSumV2Op, 2>, // $num_segments CompileTimeConstantOperand<TF::SliceOp, 1, 2>, // $begin, $size CompileTimeConstantOperand<TF::SparseToDenseOp, 1>, // $output_shape CompileTimeConstantOperand<TF::SplitOp, 0>, // $split_dim // $size_splits, $split_dim CompileTimeConstantOperand<TF::SplitVOp, 1, 2>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 17.5K bytes - Viewed (0)