Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for _input_shapes (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          merge_fusion_with_dequantize: bool,
      ):
        lhs_dim_size, rhs_dim_size = dim_sizes
        input_shape = (*lhs_dim_size,)
        filter_shape = (*rhs_dim_size,)
        static_input_shape = [dim if dim is not None else 2 for dim in input_shape]
        model = self._create_matmul_model(
            input_shape,
            filter_shape,
            self._input_saved_model_path,
            bias_fn,
            activation_fn,
        )
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        // 2. Permute dimensions of `reshaped` to produce `permuted` of shape
        //      [batch / prod(block_shape),
        //
        //       input_shape[1], block_shape[0],
        //       ...,
        //       input_shape[M], block_shape[M-1],
        //
        //       input_shape[M+1], ..., input_shape[N-1]]
        SmallVector<int64_t> permutation(reshaped_shape.size());
        permutation[0] = block_rank;
        for (int i = 0; i < block_rank; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        int num_input_dims = ranked_input_type.getRank();
        SmallVector<int32_t, 4> padding_begin(num_input_dims, 0);
        auto input_shape = ranked_input_type.getShape();
        SmallVector<int32_t, 4> padding_end(input_shape.begin(), input_shape.end());
        SmallVector<int32_t, 4> padding_strides(num_input_dims, 1);
    
        int begin_mask = strided_slice_op.getBeginMask();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            size_diff, scalar_zero);
    
        // Build the argument/result types for if branch function.
        auto input_shape = rewriter.create<TF::ShapeOp>(
            loc, tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype),
            input_handle);
    
        Type branch_args_type[] = {input_handle.getType(), input_shape.getType(),
                                   size_diff.getType(), size.getType()};
        Type branch_result_type[] = {result_type};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        llvm::ArrayRef<int64_t> input_shape = input_type.getShape();
    
        // If weight_shape[2] != 1, it means weight shape was already restored.
        if (weight_shape[2] != 1) return failure();
    
        // Weight was reshaped into [H, W, 1, InxMul].
        // Since we know in_channels from input_shape, we can derive multiplier.
        int64_t in_channels = input_shape[3];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top