- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for addBytes (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc
llvm::SmallVector<mlir::Type, 4> output_tys; for (int i = 0; i < custom_op.getNumResults(); i++) { output_tys.push_back(custom_op.getType(i)); } op_state.addTypes(output_tys); op_state.addAttributes(attr); auto stablehlo_op = builder.create(op_state); custom_op.replaceAllUsesWith(stablehlo_op); custom_op.erase(); }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
const std::string tf_op_full_name = llvm::Twine("tf.", tf_op_name).str(); // Create the TF op OperationState op_state(op.getLoc(), tf_op_full_name); op_state.addOperands(op.getOperands()); op_state.addTypes(op.getResultTypes()); SmallVector<NamedAttribute, 2> attrs; std::string parsed_op_name; tensorflow::NodeDef node_def; if (failed(ParseCustomOption(op.getCustomOption().getValue(), op.getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
DCHECK_GE(num_regions, 1); for (int i = 0; i < num_regions; ++i) { Region* region = state.addRegion(); region->push_back(new Block); } state.addTypes(output_types); } Block& ParallelExecuteOp::GetRegionBlockWithIndex(unsigned index) { return getOperation()->getRegion(index).front(); } Operation::result_range ParallelExecuteOp::GetRegionOutputs(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java
) { List<TypeSpec> interceptorTypeSpecs = generateInterceptorClasses(requestsClassGroup, onFailure); return builder -> builder .addModifiers(Modifier.PUBLIC) .addTypes(interceptorTypeSpecs); } @SuppressWarnings("ReturnValueIgnored")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:40 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc
auto& new_control_inputs_for_item = it->second; builder.setInsertionPoint(&item); OperationState state(item.getLoc(), item.getName()); types.assign(item.result_type_begin(), item.result_type_end()); state.addTypes(types); for (Region& region : item.getRegions()) { state.addRegion()->takeBody(region); } // Assign existing operands for item. operands.assign(item.operand_begin(), item.operand_end());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td
bool WrapsSingleOp(); }]; let builders = [ OpBuilder<(ins "StringAttr":$device, "TypeRange":$result_types), [{ $_state.addAttribute("device", device); $_state.addTypes(result_types); $_state.addRegion(); }]> ]; let hasCanonicalizer = 1; } def TfDevice_ReturnOp : TfDevice_Op<"return", [Pure, ReturnLike, Terminator]> { let summary = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 23 23:53:20 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
let hasFolder = 1; let hasCanonicalizer = 1; let builders = [ OpBuilder<(ins "TypedAttr":$value), [{ $_state.addAttribute("value", value); $_state.addTypes(value.getType()); }]> ]; let extraClassDeclaration = [{ static bool isCompatibleReturnTypes(TypeRange l, TypeRange r); }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.td
let hasFolder = 1; let builders = [ OpBuilder<(ins "Attribute":$value), [{ auto* ctx = value.getContext(); $_state.addAttribute("value", value); $_state.addTypes(TFRAttrType::get(ctx)); }]> ]; let assemblyFormat = [{ $value attr-dict `->` type($out) }]; } def TFR_ConstantTensorOp : TFR_Op<"constant_tensor", [Pure]> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 10:54:29 UTC 2024 - 17.4K bytes - Viewed (0) -
src/encoding/xml/marshal.go
case reflect.Slice: if typ.Elem().Kind() != reflect.Uint8 { break } // []byte return "", val.Bytes(), nil } return "", nil, &UnsupportedTypeError{typ} } var ddBytes = []byte("--") // indirect drills into interfaces and pointers, returning the pointed-at value. // If it encounters a nil interface or pointer, indirect returns that nil value.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 18:46:41 UTC 2024 - 31.2K bytes - Viewed (0) -
src/debug/pe/file.go
} if _, ok := dat[suffix]; ok { // Already handled. continue } b, err := sectionData(s) if err != nil { return nil, err } if suffix == "types" { err = d.AddTypes(fmt.Sprintf("types-%d", i), b) } else { err = d.AddSection(".debug_"+suffix, b) } if err != nil { return nil, err } } return d, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 17.2K bytes - Viewed (0)