Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for unknown_rank (0.45 sec)

  1. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      %0 = "tf.BatchMatMulV2"(%arg0, %arg3) {adj_x = false,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

            auto& list = attr->list();
            if (list.shape_size() > idx) {
              llvm::SmallVector<int64_t, 4> shape;
              const TensorShapeProto& shape_proto = list.shape()[idx];
              if (shape_proto.unknown_rank())
                return mlir::UnrankedTensorType::get(element_type);
              TF_RETURN_IF_ERROR(ConvertToMlirShape(shape_proto, &shape));
              return GetTypeFromTFTensorShape(shape, element_type);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

        SINGLE_CASE(kF, TF_ATTR_FLOAT, -1);
        SINGLE_CASE(kB, TF_ATTR_BOOL, -1);
        SINGLE_CASE(kType, TF_ATTR_TYPE, -1);
        SINGLE_CASE(kShape, TF_ATTR_SHAPE,
                    attr->shape().unknown_rank() ? -1 : attr->shape().dim_size());
        SINGLE_CASE(kTensor, TF_ATTR_TENSOR, -1);
    #undef SINGLE_CASE
    
        case tensorflow::AttrValue::kList:
          metadata.is_list = 1;
          metadata.list_size = 0;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        // CHECK:      metadata
        // CHECK-SAME: shape {\0A unknown_rank: true
    
        func.return %0: tensor<*xi32>
      }
      func.func @_func(%arg0: tensor<*xi32>) -> tensor<*xi32> {
        func.return %arg0 : tensor<*xi32>
      }
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
Back to top