Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for getDtype (0.14 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    bool IsI8ToF32Cast(stablehlo::ConvertOp convert_op) {
      const bool is_i8_operand =
          convert_op.getOperand().getType().getElementType().isInteger(/*width=*/8);
      const bool is_f32_result =
          mlir::isa<Float32Type>(convert_op.getResult().getType().getElementType());
      return is_i8_operand && is_f32_result;
    }
    
    // Tests whether a `stablehlo::ConvertOp` is a i8 -> i32 cast.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

            loc, tensorflow::GetTypeFromTFTensorShape({}, rewriter.getI1Type()),
            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(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      "TFL::IsBroadcastableElementsAttrAndType($0.getType(), $1.getType())">>;
    
    def OperandsBroadcastToOutputType : Constraint<CPred<
      "TFL::OperandsBroadcastToOutputType($0.getType(), $1.getType(), "
                                         "$2.getType())">>;
    
    def IsTailOfShape : Constraint<CPred<
      "TFL::IsTailOfShape($0.getType(), $1.getType())">>;
    
    def IsReducedTailOfShape : Constraint<CPred<
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

    bool IsResource(Value value) {
      return mlir::isa<TF::ResourceType>(getElementTypeOrSelf(value.getType()));
    }
    
    // Get the type of the data contained in a resource. Returns null if there is
    // no single type in the resource.
    Type GetResourceSubtype(Value value) {
      auto resource_type =
          mlir::dyn_cast<TF::ResourceType>(getElementTypeOrSelf(value.getType()));
      auto subtypes = resource_type.getSubtypes();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        auto input_type = mlir::dyn_cast_or_null<RankedTensorType>(input.getType());
        if (!input_type) return failure();
        auto fft_len = rfft_op.getFftLength();
        auto fft_len_type = mlir::dyn_cast_or_null<ShapedType>(fft_len.getType());
        if (!fft_len_type) return failure();
    
        auto output_type =
            mlir::dyn_cast_or_null<RankedTensorType>(rfft_op.getResult().getType());
        if (!output_type) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

        auto loc = op.getLoc();
        auto result_ty = mlir::cast<ShapedType>(op.getType());
    
        auto input = op.getImages();
        auto input_ty = mlir::cast<ShapedType>(input.getType());
        auto input_element_ty = input_ty.getElementType();
        auto out_size = op.getSize();
        auto out_size_ty = mlir::cast<ShapedType>(out_size.getType());
        auto out_size_element_ty = out_size_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)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        new_quantized_func.setType(
            FunctionType::get(getContext(), TypeRange{ValueRange{args}},
                              new_quantized_func.getResultTypes()));
        for (auto [partitioned_call_arg, new_quantized_func_arg] :
             llvm::zip_equal(args, new_quantized_func.getArguments())) {
          new_quantized_func_arg.setType(partitioned_call_arg.getType());
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

      llvm::SmallVector<Type, 4> operand_types;
      operand_types.reserve(inputs.size());
      for (Value v : inputs) operand_types.emplace_back(v.getType());
      llvm::SmallVector<Type, 4> output_types;
      output_types.reserve(outputs.size());
      for (Value v : outputs) output_types.emplace_back(v.getType());
    
      auto func_type = builder->getFunctionType(operand_types, output_types);
    
      FuncOp outlined_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

            // using convention mapping.
            return Provider.class.isAssignableFrom(property.getType()) || SupportsConvention.class.isAssignableFrom(property.getType());
        }
    
        private static boolean isLazyAttachProperty(PropertyMetadata property) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

            return this.isExists;
        }
    
    
        @Override
        public int getType () throws SmbException {
            try {
                int t = this.fileLocator.getType();
                if ( t == TYPE_SHARE ) {
                    try ( SmbTreeHandle th = ensureTreeConnected() ) {
                        this.fileLocator.updateType(th.getTreeType());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (1)
Back to top