Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for VariantType (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_tpu_embedding_ops.cc

      StringRef config = recv_op ? recv_op.getConfig() : send_op.getConfig();
    
      // Create XlaRecvTPUEmbeddingDeduplicationData op.
      OpBuilder builder(region);
      auto output_ty =
          RankedTensorType::get({}, VariantType::get(region->getContext()));
      auto dedup_op = builder.create<XlaRecvTPUEmbeddingDeduplicationDataOp>(
          loc, output_ty, config);
    
      // Rewrite RecvTPUEmbeddingActivations op to the corresponding internal op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 22:55:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/utils/convert_type.cc

          return builder.getIntegerType(64, /*isSigned=*/false);
        case tflite::TensorType_RESOURCE:
          return mlir::TF::ResourceType::get(builder.getContext());
        case tflite::TensorType_VARIANT:
          return mlir::TF::VariantType::get(builder.getContext());
      }
    }
    
    tensorflow::DataType TflTypeToTfType(tflite::TensorType type) {
      switch (type) {
        case tflite::TensorType_BOOL:
          return tensorflow::DT_BOOL;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/constant_fold_utils.cc

      // require "raising" later.
      for (const Type type : inst->getResultTypes()) {
        if (const TensorType tensor_type = mlir::dyn_cast<TensorType>(type)) {
          if (mlir::isa<VariantType>(tensor_type.getElementType())) {
            return false;
          }
        }
      }
    
      // Operations that execute function calls shouldn't be constant folded.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top