- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 1,665 for builder2 (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.cc
GetIndicesForElement(index, buffer, builder, loc)}) .getOutput(); } TensorType GetSizeType(OpBuilder builder) { return tensorflow::GetTypeFromTFTensorShape({1}, builder.getIntegerType(32)); } Value ReshapeScalarToSizeType(OpBuilder builder, Value scalar, Location loc) { auto size_type = GetSizeType(builder); return builder.create<TF::ReshapeOp>( loc, ArrayRef<Type>{size_type},
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.5K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/Escapers.java
return null; } }; /** * Returns a builder for creating simple, fast escapers. A builder instance can be reused and each * escaper that is created will be a snapshot of the current builder state. Builders are not * thread safe. * * <p>The initial state of the builder is such that: * * <ul> * <li>There are no replacement mappings
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 26 20:07:17 UTC 2023 - 10.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt
/** * Executes the given [builder] against this object's [GroovyBuilderScope]. * * @see [GroovyBuilderScope] */ inline fun <T> Any.withGroovyBuilder(builder: GroovyBuilderScope.() -> T): T = GroovyBuilderScope.of(this).builder() /** * Provides a dynamic dispatching DSL with Groovy semantics for better integration with * plugins that rely on Groovy builders such as the core `maven` plugin. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 9.7K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy
} private def createExternalJar() { ArtifactBuilder builder = artifactBuilder() builder.sourceFile('org/gradle/test/BuildClass.java') << ''' package org.gradle.test; public class BuildClass { } ''' builder.buildJar(file("repo/test-1.3.jar")) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 20 11:16:24 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
Value scattered_start_indices = builder.create<TF::TensorScatterUpdateOp>( loc, empty_start_indices, /*indices=*/ builder.create<TF::ReshapeOp>( loc, RankedTensorType::get({index_map_size, 1}, builder.getI64Type()), Create1DConstValue<int64_t>(builder, loc, indices), Create1DConstValue<int64_t>(builder, loc, {index_map_size, 1})), /*value=*/
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/localize_var_handles.cc
// the resource, and we use it to just look up. // See core/kernels/data/iterator_ops.cc.) resource_op = builder.create<TF::IteratorOp>( op->getLoc(), resource.getType(), shared_name, container, it.getOutputTypes(), it.getOutputShapes()); } else { resource_op = builder.create<TF::VarHandleOp>( op->getLoc(), resource.getType(), container, shared_name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
OpBuilder* builder) { return builder->create<TF::TPUGetLayoutOp>( compile_launch.getLoc(), llvm::ArrayRef<Type>{RankedTensorType::get({ShapedType::kDynamic}, builder->getIntegerType(64))}, llvm::ArrayRef<Value>{compilation_key}, llvm::ArrayRef<NamedAttribute>{ builder->getNamedAttr("index",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc
mlir::emitError(loc, "non-broadcastable operands"); } else { return UnrankedTensorType::get(builder->getI1Type()); } } auto ranked_type = mlir::dyn_cast<RankedTensorType>(result_type); if (!ranked_type) return UnrankedTensorType::get(builder->getI1Type()); return RankedTensorType::get(ranked_type.getShape(), builder->getI1Type()); } Type InferReductionOpType(Value input, Value reduction_indices,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc
OpBuilder builder(module_op.getContext()); builder.setInsertionPointAfter(session_init_op); const Location loc = builder.getUnknownLoc(); const auto func_type = builder.getFunctionType(/*inputs=*/{}, /*results=*/{}); auto init_func = builder.create<func::FuncOp>( loc, /*sym_name=*/"init_func_restore_op", func_type);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 16 15:04:53 UTC 2023 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/compute_cost.cc
func.emitError("we cannot get hardware info for this function."); signalPassFailure(); } float total_cost = GetCostForFunc(&func, *target); OpBuilder builder(func); UpdateCost(func, total_cost, &builder); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateComputeCostPass() { return std::make_unique<ComputeCostPass>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 24 15:10:02 UTC 2022 - 4.2K bytes - Viewed (0)