Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for num_inputs (0.12 sec)

  1. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

        FunctionType func_type = func.getFunctionType();
        int num_inputs = func_type.getNumInputs();
        int num_results = func_type.getNumResults();
    
        // For each argument type in function's arguments, change it to uranked
        // tensor type if it's a variant type.
        SmallVector<Type, 8> updated_argument_types;
        updated_argument_types.reserve(num_inputs);
        UpdateTensorListTypes<mlir::OperandRange>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

                                            ? mhlo::Precision::DEFAULT
                                            : mlir::mhlo::Precision::HIGHEST;
      llvm::SmallVector<mlir::Attribute, 2> attr_vec;
      const int num_inputs = 2;
      for (int i = 0; i < num_inputs; i++) {
        attr_vec.push_back(
            mlir::mhlo::PrecisionAttr::get(builder->getContext(), precision));
      }
      return builder->getArrayAttr(attr_vec);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
Back to top