Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 788 for shake (0.06 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_xla_attribute_utils.cc

      auto reshape_op = [&](Value value, const SmallVector<int64_t> &shape) {
        const int64_t rank = shape.size();
        return builder.create<TF::ReshapeOp>(
            loc, RankedTensorType::get(shape, builder.getI32Type()), value,
            CreateConstValue<int64_t>(builder, loc, {rank}, shape));
      };
    
      ShapedType filter_shape = mlir::cast<ShapedType>(filter.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tensor_list_ops_decomposition.cc

        shape->push_back(dim_size);
      }
      return success();
    }
    
    // Checks the result Variant type to infer the element shape if fully defined.
    // If the Variant type has multiple subtypes or does not have static shape,
    // return error.
    LogicalResult GetElementShapeFromResultType(
        Type type, llvm::SmallVector<int64_t, 8>* shape) {
      auto variant_type =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

              ConvertElementType(nested_tensor->type, builder);
          if (nested_tensor->has_rank) {
            llvm::SmallVector<int64_t> shape(nested_tensor->shape.begin(),
                                             nested_tensor->shape.end());
            tensor_types.push_back(
                tensorflow::GetTypeFromTFTensorShape(shape, nested_elem_type));
          } else {
            tensor_types.push_back(UnrankedTensorType::get(nested_elem_type));
          }
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfr/python/tfr_wrapper.cc

    #include "mlir/Dialect/Arith/IR/Arith.h"  // from @llvm-project
    #include "mlir/Dialect/Func/IR/FuncOps.h"  // from @llvm-project
    #include "mlir/Dialect/SCF/IR/SCF.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/IR/AsmState.h"  // from @llvm-project
    #include "mlir/IR/BuiltinOps.h"  // from @llvm-project
    #include "mlir/IR/Diagnostics.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 13 06:54:12 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/register_common_dialects.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/register_common_dialects.h"
    
    #include "mlir/Dialect/Quant/QuantOps.h"  // from @llvm-project
    #include "mlir/Dialect/Shape/IR/Shape.h"  // from @llvm-project
    #include "mlir/Dialect/Tensor/IR/Tensor.h"  // from @llvm-project
    #include "mlir/Dialect/Tosa/IR/TosaOps.h"  // from @llvm-project
    #include "mlir/InitAllDialects.h"  // from @llvm-project
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 22:45:35 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/tests/fuse_mhlo_convolution.mlir

      // CHECK: %[[SHAPE:.+]] = shape.shape_of %[[CONV]] : tensor<?x256x256x2xf32> -> tensor<4xindex>
      // CHECK: %[[DYNAMIC_BCAST:.+]] = "mhlo.dynamic_broadcast_in_dim"(%[[CST_1]], %[[SHAPE]]) <{broadcast_dimensions = dense<3> : tensor<1xi64>}> : (tensor<2xf32>, tensor<4xindex>) -> tensor<?x256x256x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

      auto ranked_ty = mlir::dyn_cast<RankedTensorType>(ty);
    
      // Unranked type.
      if (!ranked_ty) return ty;
    
      auto shape = llvm::to_vector<4>(ranked_ty.getShape());
      if (axis < 0) axis += ranked_ty.getRank() + 1;
    
      shape.insert(shape.begin() + axis, 1);
      return tensorflow::GetTypeFromTFTensorShape(shape,
                                                  ranked_ty.getElementType());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental.cc

        return nullptr;
      }
      tensorflow::PartialTensorShape partial_shape;
      if (shape.num_dims != -1) {
        DCHECK(shape.dim_sizes != nullptr);
        Status status = tensorflow::PartialTensorShape::MakePartialShape(
            reinterpret_cast<int64_t*>(shape.dim_sizes), shape.num_dims,
            &partial_shape);
        if (!status.ok()) {
          tsl::Set_TF_Status_from_Status(s, status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc

          output_type = input_type;
        } else {
          auto shape = llvm::to_vector<4>(input_type.getShape());
          shape[concat_dimension] = shape[concat_dimension] * inputs.size();
          output_type =
              mlir::RankedTensorType::get(shape, input_type.getElementType());
        }
      } else {
        output_type = input_type;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/internal/component/ResolutionFailureHandlerIntegrationTest.groovy

                val color = Attribute.of("color", String::class.java)
                val shape = Attribute.of("shape", String::class.java)
                val matter = Attribute.of("state", String::class.java)
    
                configurations {
                    consumable("roundBlueLiquidElements") {
                        attributes.attribute(shape, "round")
                        attributes.attribute(color, "blue")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:55:38 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top