- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 51 for GetInputs (0.15 sec)
-
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
SmallVectorImpl<Value>* inputs, NamedAttrList* arg_attrs, llvm::StringMap<Attribute>* derived_attrs) const { for (const auto& operand : llvm::enumerate(signature.getFunctionType().getInputs())) { // If the index is larger than the operand number of the call_op, the // default value of the operand needs to be used. if (operand.index() >= call_op.getNumOperands()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/scatter.h
LogicalResult matchAndRewrite( mhlo::ScatterOp scatter_op, OpAdaptor adaptor, ConversionPatternRewriter& rewriter) const final { { OperandRange operands = scatter_op.getInputs(); Value indices = scatter_op.getScatterIndices(); OperandRange updates = scatter_op.getUpdates(); if (operands.size() != 1 || updates.size() != 1) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc
rewriter.create<func::FuncOp>(input_op->getLoc(), func_name, func_type); OpBuilder::InsertionGuard guard = OpBuilder::InsertionGuard(rewriter); ArrayRef<Type> inputs = quantization_func.getFunctionType().getInputs(); Block* block = rewriter.createBlock( &quantization_func.getBody(), quantization_func.begin(), inputs, SmallVector<Location>(inputs.size(), quantization_func.getLoc())); func_input_arg = block->getArgument(0);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0) -
platforms/native/testing-native/src/main/java/org/gradle/nativeplatform/test/cpp/plugins/CppUnitTestPlugin.java
task.onlyIf("Test executable installation directory exists", element -> binary.getInstallDirectory().get().getAsFile().exists()); task.getInputs() .dir(binary.getInstallDirectory()) .withPropertyName("installDirectory"); task.setExecutable(installTask.getRunScriptFile().get().getAsFile());
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 09:46:00 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
rewriter.getStringAttr("TPU")); } constexpr int64_t kDefaultCostEstimate = 1000000; rewriter.replaceOpWithNewOp<TF::XlaHostComputeOp>( op, op.getResultTypes(), op.getInputs(), /*ancestors=*/rewriter.getArrayAttr({}), rewriter.getArrayAttr(shape_attrs), /*shape_inference_graph=*/ cloned_func ? SymbolRefAttr::get(cloned_func) : SymbolRefAttr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/stack_ops_decomposition.cc
llvm::function_ref<void(ArrayRef<BlockArgument>)> handle_new_size_vars = nullptr) { auto new_input_types = llvm::to_vector<8>(func.getFunctionType().getInputs()); auto size_var_type = GetSizeVarType(OpBuilder(func)); int64_t original_arg_count = new_input_types.size(); for (int64_t i = 0; i < original_arg_count; ++i) { auto stack_type = arg_to_stack_type(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_reduce_dataset.cc
// 3. Captures inputs. // The number of dataset inputs can be indirectly determined to be // total_number_of_inputs - state_inputs - captured_inputs. auto func_inputs = reduce_func.getFunctionType().getInputs(); const int func_input_size = func_inputs.size(); const int argument_size = reduce_dataset->getAttrOfType<ArrayAttr>("Targuments").size(); const int state_size =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
// https://github.com/tensorflow/community/pull/113 SmallVector<int64_t, 2> output_shape{1, tensorflow::kTFDynamicSize}; auto input_types = fused_func_op_.getFunctionType().getInputs(); auto output_type = tensorflow::GetTypeFromTFTensorShape( output_shape, mlir::cast<RankedTensorType>(input_.getType()).getElementType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
ConversionPatternRewriter *rewriter) const { auto guard = OpBuilder::InsertionGuard(*rewriter); auto inputs = branch_func.getFunctionType().getInputs(); Block *block = rewriter->createBlock( &branch_func.getBody(), branch_func.begin(), inputs, SmallVector<Location>(inputs.size(), branch_func.getLoc()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/decompose.cc
// a constant is created by using the attribute stored in the TF op or the // default value in the argument attribute. llvm::SmallVector<Value, 4> new_operands; for (auto arg : llvm::enumerate(compose_func_type.getInputs())) { if (auto tensor_type = mlir::dyn_cast<TFRTensorType>(arg.value())) { auto casted = builder.create<CastOp>(op->getLoc(), tensor_type, op->getOperand(arg.index()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0)