- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,865 for Cast (0.07 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
for (Operation& op : save_func_body.without_terminator()) { main_body.push_back(op.clone(mapper)); } // Relocate the main function's FetchOp to the last. main_body.push_back(main_fetch_op->clone(mapper)); main_fetch_op.erase(); auto cloned_fetch_op = cast<FetchOp>(src_graph_op.GetFetch()->clone(mapper)); Value control_fetch = *cloned_fetch_op.getFetches().begin(); cloned_fetch_op.erase();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
func.setType(FunctionType::get(func.getContext(), arg_types, result_types)); } void HandleFuncOp(Operation* op) { auto func = llvm::cast<func::FuncOp>(op); UpdateFuncType(func); } // Handles cast op between the first convolution and the block argument. LogicalResult HandleCast(TF::CastOp cast_op, ArrayRef<int64_t> new_shape) { auto cast_input = cast_op.getX(); // Update input type.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
PatternRewriter& rewriter, llvm::StringMap<Attribute>& identifier_to_attr) { ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]); const int stride_h = mlir::cast<IntegerAttr>(stride[1]).getInt(); const int stride_w = mlir::cast<IntegerAttr>(stride[2]).getInt(); return rewriter.getI64ArrayAttr({stride_h, stride_w}); } Attribute GetLhsDilationValue(PatternRewriter& rewriter,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
platforms/software/publish/src/main/java/org/gradle/api/publish/tasks/GenerateModuleMetadata.java
return publication().getComponent().getOrNull(); } private PublicationInternal<?> publication() { return Cast.uncheckedNonnullCast(publication.get().get()); } private List<PublicationInternal<?>> publications() { return Cast.uncheckedCast(publications.get().get()); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 21 07:21:42 UTC 2023 - 12.1K bytes - Viewed (0) -
platforms/core-runtime/tooling-api-provider/src/main/java/org/gradle/tooling/internal/provider/DefaultConnection.java
*/ package org.gradle.tooling.internal.provider; import org.gradle.initialization.BuildCancellationToken; import org.gradle.initialization.BuildLayoutParameters; import org.gradle.internal.Cast; import org.gradle.internal.buildprocess.BuildProcessState; import org.gradle.internal.classpath.ClassPath; import org.gradle.internal.deprecation.DeprecationLogger; import org.gradle.internal.instrumentation.agent.AgentStatus;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 13.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
continue; } Type result_ele_type = mlir::cast<TensorType>(result.getType()).getElementType(); // If the user is the QuantizeOp, it must be the only user. if (result.hasOneUse() && isa<QuantizeOpT>(*result.user_begin())) { auto user = cast<QuantizeOpT>(*result.user_begin()); outputs_replaced.insert(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/caching/internal/services/AbstractBuildCacheControllerFactory.java
) { Class<? extends BuildCacheServiceFactory<C>> castFactoryType = Cast.uncheckedNonnullCast( buildCacheConfiguration.getBuildCacheServiceFactoryType(configuration.getClass()) ); BuildCacheServiceFactory<C> factory = instantiator.newInstance(castFactoryType); Describer describer = new Describer(); S service = Cast.uncheckedNonnullCast(factory.createBuildCacheService(configuration, describer));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 05 17:08:26 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td
Variadic<MlrtPromiseType>:$promises, Variadic<MlrtFutureType>:$futures ); } def TensorToIntOp : TensorflowMlrt_Op<"tensor_to_int32", [Pure]> { let summary = "Cast a Tensor to int32."; let description = [{ Cast a Tensor to int32. Example: %one = tf_mlrt.tensor_to_int32 %src_tenosr }]; let arguments = (ins TFTensorType:$src); let results = (outs I32:$result);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 20:44:15 UTC 2024 - 13.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints.h
ArrayRef<Value> new_operands); // Tries casting `op` with a concrete op type `T`. If the cast fails or `op` is // a `nullptr`, returns `failure` and prints a debugging message identifying // the cast attempt as `name`. template <typename T> FailureOr<T> TryCast(Operation* op, const StringRef name) { auto cast_op = dyn_cast_or_null<T>(op); if (cast_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.9K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.internal.instrumentation.processor.modelreader.impl; import org.gradle.internal.Cast; import org.gradle.internal.instrumentation.api.annotations.CallableDefinition; import org.gradle.internal.instrumentation.api.annotations.CallableKind; import org.gradle.internal.instrumentation.api.annotations.InterceptInherited;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Nov 15 09:48:42 UTC 2023 - 13K bytes - Viewed (0)