- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for set_type (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
node_def->set_op(FunctionLibraryDefinition::kRetOp); DataType dtype; TF_RETURN_IF_ERROR(ConvertToDataType( mlir::cast<mlir::TensorType>(operand.getType()).getElementType(), &dtype)); AttrValue type_attr; type_attr.set_type(dtype); (*node_def->mutable_attr())["T"] = type_attr; AttrValue index_attr; index_attr.set_i(index); (*node_def->mutable_attr())["index"] = index_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
for (auto [call_arg, body_arg] : llvm::zip(call.getOperation()->getOperands(), f.getBody().front().getArguments())) { if (call_arg.getType() != body_arg.getType()) { body_arg.setType(call_arg.getType()); changed = true; } } if (changed) { rewriter.finalizeOpModification(f); return success(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc
TF_RETURN_IF_ERROR(ConvertToDataType(input_type, &dtype)); auto metadata_arg = metadata_proto.add_args(); metadata_arg->set_kind(tpu::TPUCompileMetadataProto::Arg::PARAMETER); metadata_arg->set_dtype(dtype); } return absl::OkStatus(); } absl::Status SetupReturnValues(mlir::ModuleOp module, tpu::TPUCompileMetadataProto& metadata_proto) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 23:59:33 UTC 2024 - 3.9K bytes - Viewed (0) -
maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 20:50:56 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} if (refined_shape || lhs_element_type != lhs_shape_type.getElementType()) { Type new_type; if (!lhs_shape_type.hasRank() && !rhs_shape_type.hasRank()) new_type = UnrankedTensorType::get(lhs_element_type); else new_type = lhs_shape_type.clone(shape, lhs_element_type); DCOMMENT("Refined to: " << new_type); return new_type; } DCOMMENT("No refinement " << lhs); return lhs; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java
ComponentDependency cd = new ComponentDependency(); cd.setArtifactId(extractArtifactId(d)); cd.setGroupId(extractGroupId(d)); cd.setType(d.getChild("type").getValue()); cd.setVersion(extractVersion(d)); return cd; } @SuppressWarnings("checkstyle:methodlength")
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/link/internal/ld/data.go
types.SetType(sym.STYPE) types.SetSize(8) ldr.SetAttrSpecial(types.Sym(), false) etypes := ldr.CreateSymForUpdate("runtime.etypes", 0) etypes.SetType(sym.SFUNCTAB) ldr.SetAttrSpecial(etypes.Sym(), false) if ctxt.HeadType == objabi.Haix { rodata := ldr.CreateSymForUpdate("runtime.rodata", 0) rodata.SetType(sym.SSTRING) rodata.SetSize(8)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jun 12 15:10:50 UTC 2024 - 100.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt
else -> null } } private fun ConstantValueKind.toLiteralExpression(source: KtSourceElement?, value: Any?): FirLiteralExpression = buildLiteralExpression(source, this, value, setType = false) private fun FirFunctionCall.getOriginalFunction(): FirCallableDeclaration? { val symbol: FirBasedSymbol<*>? = when (val reference = calleeReference) {
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Fri Jun 07 11:53:09 UTC 2024 - 16.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
RankedTensorType act_type = mlir::dyn_cast<RankedTensorType>(act.getType()); if (!act_type) return failure(); Type act_ele_type = act_type.getElementType(); // To support mixed precision, the statistics type, which maybe more // precise than the input types, are used for this op. Type kernel_type = mlir::cast<TensorType>(scale.getType()).getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
loc, tensorflow::GetTypeFromTFTensorShape({-1}, shape_dtype), input_handle); Type branch_args_type[] = {input_handle.getType(), input_shape.getType(), size_diff.getType(), size.getType()}; Type branch_result_type[] = {result_type}; auto func_type = FunctionType::get(rewriter.getContext(), branch_args_type,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0)