- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 148 for set_type (0.33 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
auto resultType = RankedTensorType::get(shape, inputType.getElementType(), extensions); arg.setType(resultType); } llvm::SmallVector<Type, 8> arg_types; for (auto arg : func.getArguments()) arg_types.push_back(arg.getType()); func.setType( FunctionType::get(func.getContext(), arg_types, func.front().getTerminator()->getOperandTypes()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_asset_sinking_pass.cc
// tensor<x!tf_type.string>. auto tensor_string_type = RankedTensorType::get({}, TF::StringType::get(builder.getContext())); main_func.getArguments().front().setType(tensor_string_type); main_func.setType( FunctionType::get(builder.getContext(), {tensor_string_type}, main_func.getFunctionType().getResults()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.2K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/TypeUtils.java
static { Map<Type, String> map = new HashMap<>(); map.put(Type.BYTE_TYPE, "0"); map.put(Type.SHORT_TYPE, "0"); map.put(Type.INT_TYPE, "0"); map.put(Type.LONG_TYPE, "0L"); map.put(Type.FLOAT_TYPE, "0.0f"); map.put(Type.DOUBLE_TYPE, "0.0"); map.put(Type.CHAR_TYPE, "'\\u0000'"); map.put(Type.BOOLEAN_TYPE, "false");
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 05 15:45:10 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.h
op.getResult().setType(conv_result_type); squeeze_op.getResult().setType(bts_op.getOutput().getType()); // Connect `biasadd_op` with the output of `squeeze_op`. if (biasadd_op) { biasadd_op.setOperand(0, squeeze_op.getOutput()); biasadd_op.getOutput().setType(squeeze_op.getOutput().getType()); } } else { if (biasadd_op) biasadd_op.setOperand(0, op.getOutput());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/default_quant_params.cc
quant::QuantParams quant_params) { Type expressed_type = value.getType(); Type new_type = quant_params.castFromExpressedType(expressed_type); // This value isn't an expressed type (float), skip. if (!new_type) return; Block &block = value.getParentRegion()->front(); Operation *op = value.getDefiningOp(); if (op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc
new_dequantize_op->setOperand(0, user_op->getResult(0)); new_dequantize_op->getResult(0).setType(user_op->getResult(0).getType()); user_op->getResult(0).replaceAllUsesExcept(new_dequantize_op->getResult(0), new_dequantize_op); user_op->getResult(0).setType(new_user_op_type); } LogicalResult matchAndRewrite(TF::PartitionedCallOp op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapSet.java
sitemapList.remove(sitemap); } public Sitemap[] getSitemaps() { return sitemapList.toArray(new Sitemap[sitemapList.size()]); } public void setType(final String type) { this.type = type; } public boolean isUrlSet() { return URLSET.equals(type); } public boolean isIndex() { return INDEX.equals(type); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/fill_quantization_options.cc
const QuantizationComponent& component, const BitType bit_type, const BitWidth bit_width) { spec->set_quantization_component(component); spec->set_bit_type(bit_type); spec->set_bit_width(bit_width); } ::stablehlo::quantization::QuantizationOptions FillPresetQuantizationOptions(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 08:32:43 UTC 2024 - 6.2K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt
private val client = OkHttpClient() fun run() { // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image val requestBody = MultipartBody.Builder() .setType(MultipartBody.FORM) .addFormDataPart("title", "Square Logo") .addFormDataPart( "image", "logo-square.png", File("docs/images/logo-square.png").asRequestBody(MEDIA_TYPE_PNG),
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
auto ranked_type = mlir::dyn_cast<RankedTensorType>(input.getType()); if (!ranked_type) return false; auto input_shape = ranked_type.getShape(); auto space_to_depth = BuildSpaceToDepth(cluster_func, input, block_size, input_shape); entry.value().set(space_to_depth); block_arg.setType(space_to_depth.getType()); } return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0)