- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 100 for GetOutput (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
split_dimension_op.getOutput(), reshape_op.getOutput()); // Squeeze each batch, i.e. reshape // [1, num_rows, num_cols] -> [num_rows, num_cols] for (const auto& split_value : split_op.getOutput()) { auto reshape_op = createReshapeOp(split_value, {num_rows, num_cols},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
return rewriter.create<TF::ConstOp>(loc, static_shape_attr).getOutput(); } // If the shape is not static, create a new ShapeOp. BoolAttr false_attr = rewriter.getBoolAttr(false); return rewriter .create<TF::ShapeOp>(loc, input, /*use_32bit=*/false_attr) .getOutput(); } mlir::TFL::MirrorPaddingType GetTFLMirrorPaddingFromString(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
platforms/jvm/plugins-java-base/src/main/java/org/gradle/api/plugins/JavaBasePlugin.java
new DslObject(resourcesTask.getRootSpec()).getConventionMapping().map("destinationDir", (Callable<File>) () -> sourceSet.getOutput().getResourcesDir()); resourcesTask.from(resourceSet); }); DefaultSourceSetOutput output = Cast.uncheckedCast(sourceSet.getOutput()); output.setResourcesContributor(processResources.map(Copy::getDestinationDir), processResources); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 19 22:14:22 UTC 2023 - 28.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/dilated_conv.h
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()); op.setOperand(0, stb_op.getInput());
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/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc
tensor_proto_attr.getValue(), mlir::dyn_cast<TensorType>(ToLegalType(op.getOutput().getType()))); if (failed(dense_attr_or)) { op->emitError("failed to get DenseElementAttr."); return failure(); } rewriter.replaceOpWithNewOp<TF::ConstOp>( op, ToLegalType(op.getOutput().getType()), *dense_attr_or); return success(); } }; struct ConvertTFQuantTypes
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
LogicalResult matchAndRewrite(TF::UniformQuantizeOp op, PatternRewriter &rewriter) const override { auto output_type = GetUniformQuantizedType( op, op.getOutput().getType(), op.getScales(), op.getZeroPoints(), /*expressed_type=*/rewriter.getF32Type(), op.getQuantizationMinVal(), op.getQuantizationMaxVal(), op.getQuantizationAxis(), rewriter);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutorTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 15:51:31 UTC 2024 - 11.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
auto reshape = builder.create<TF::ReshapeOp>( loc, ArrayRef<Type>{element_type}, ArrayRef<Value>{slice, GetR1Const(element_type.getShape(), builder, loc)}); return reshape.getOutput(); } Value SetElement(Value index, Value buffer, Value element, OpBuilder builder, Location loc) { auto buffer_type = mlir::cast<RankedTensorType>(buffer.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
preceding_cast.getOut().getType()) { return failure(); } raw_data_op.getOutput().replaceAllUsesWith(redundant_cast.getArg()); } else { // If the argument of cast op is input, then simply remove the RawData op. raw_data_op.getOutput().replaceAllUsesWith(preceding_cast.getOut()); } return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
host_tensor, device_, device_tensor)); tensors_.push_back(device_tensor); return device_tensor; } // Gets the `output_index`-th output set in the context_ Tensor* GetOutput(int output_index) { CHECK_LT(output_index, context_->num_outputs()); Tensor* device_tensor = context_->mutable_output(output_index); managed_outputs_.resize(context_->num_outputs());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0)