- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,512 for q_builder (0.21 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td
def GetAvgPoolOpPadAttr: NativeCodeCall<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>())">; // Returns true if the provided padding in the composite op can *not* be // satisfied by SAME or VALID tensorflow padding. def HasCustomPadding: Constraint<CPred<"GetAvgPoolOpPadAttr($_builder, (*$0.begin()).getDefiningOp<mhlo::CompositeOp>()) == $_builder.getStringAttr(\"CUSTOM\")">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
func.addEntryBlock(); mlir::OpBuilder op_builder(func.getBody()); // Create the TF op const std::string tf_op_full_name = absl::StrCat("tf.", node_def.op()); mlir::OperationState op_state(loc, tf_op_full_name); op_state.addOperands(func.getArguments()); op_state.addTypes(output_tys); op_state.addAttributes(attrs); mlir::Operation* tf_op = op_builder.create(op_state);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.h
TensorType GetSizeType(OpBuilder builder); // Reshapes a scalar value to match the size type tensor<i32>. Value ReshapeScalarToSizeType(OpBuilder builder, Value scalar, Location loc); // Creates ops that represent the indices of the slice for an element in the // buffer. Requires `index` to have tensor<1xi32> type. Value GetIndicesForElement(Value index, Value buffer, OpBuilder builder, Location loc);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/execution_metadata_exporter_test.cc
fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))), CreateOpMetadata(fb_builder, 2, 0, fb_builder.CreateVector(std::vector<float>({1.0, 5.0}))), CreateOpMetadata( fb_builder, 3, 1, fb_builder.CreateVector(std::vector<float>({-1.0, 2.0}))), }; const auto subgraphs = {CreateSubgraphMetadata(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 06:11:34 UTC 2024 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
NativeCodeCall<"GetI64ElementsAttr({" # value # "}, &$_builder)">; class GetF32Scalar<int value> : NativeCodeCall<"GetF32Scalar(&$_builder, " # value # ")">; def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<::mlir::BoolAttr>().getValue()">>; def CreateTFShapeOp : NativeCodeCall< "$_builder.create<TF::ShapeOp>($0.getLoc(), $1, $2)">; def IsI32 : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/kotlinDsl/interoperability-groovy-builder/tests/groovy-builder.sample.conf
Laura Kassovic <******@****.***> 1701107622 -0800
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 30 bytes - Viewed (0) -
tensorflow/c/kernels/ops/histogram_summary.cc
TF_Status* status = TF_NewStatus(); TF_OpDefinitionBuilder* op_builder = TF_NewOpDefinitionBuilder("HistogramSummary"); TF_OpDefinitionBuilderAddInput(op_builder, "tag: string"); TF_OpDefinitionBuilderAddInput(op_builder, "values: T"); TF_OpDefinitionBuilderAddOutput(op_builder, "summary: string"); TF_OpDefinitionBuilderAddAttr(op_builder, "T: realnumbertype = DT_FLOAT"); TF_OpDefinitionBuilderSetShapeInferenceFunction(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Sep 18 21:04:53 UTC 2023 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
b_builder.Attr("f", b_name_attr); b_builder.Attr("Tin", {DT_FLOAT, DT_FLOAT}); b_builder.Attr("Tout", {DT_FLOAT}); b_builder.Input({a, a}); Node* b = builder.opts().FinalizeBuilder(&b_builder); Node* c = ops::UnaryOp("Relu", b, builder.opts().WithName("C")); // Builds a Symbolic gradient for Unsupported NodeBuilder d_builder("D", "SymbolicGradient", builder.opts().op_registry());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc
OpBuilder* builder) { llvm::SetVector<Value> live_ins; getUsedValuesDefinedAbove(launch_op.getBody(), launch_op.getBody(), live_ins); func::FuncOp outlined_func = BuildFunction(live_ins.getArrayRef(), launch_op, symbol_table, builder); launch_op->setAttr( builder->getStringAttr(kFuncAttr), mlir::SymbolRefAttr::get(builder->getContext(), outlined_func.getName()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
}, } return pvb } func (pvb pvBuilder) withVersion(version string) pvBuilder { pvb.PersistentVolume.ObjectMeta.ResourceVersion = version return pvb } func (pvb pvBuilder) withCapacity(capacity resource.Quantity) pvBuilder { pvb.PersistentVolume.Spec.Capacity = v1.ResourceList{ v1.ResourceName(v1.ResourceStorage): capacity, } return pvb } func (pvb pvBuilder) withPhase(phase v1.PersistentVolumePhase) pvBuilder {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0)