- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 67 for _Attr_name (0.12 sec)
-
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.td
// Creates a NamedAttribute given its name and value. Essentially creates // a pair: {attribute_name, attribute_value}. class NamedAttr<string attr_name> : NativeCodeCall<"NamedAttribute{$_builder.getStringAttr(\"" # attr_name # "\"), $0}">; // Checks if the value is not defined inside a lifted function by checking the // `tf_quant.composite_function` attribute. def IsNotInLiftedFunc :
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 00:32:20 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
// TODO(b/146937733): Don't use <void> here. llvm::StringRef attr_name = mlir::OpTrait::AttrSizedOperandSegments< void>::getOperandSegmentSizeAttr(); attrs_to_ignore.insert(attr_name.data()); } if (inst->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { // TODO(b/146937733): Don't use <void> here. llvm::StringRef attr_name = mlir::OpTrait::AttrSizedResultSegments<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/c/python_api.h
// completion. void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, TF_Buffer* attr_value_proto, TF_Status* status); // Clears the attr in the node_def Protocol Buffer and sets a status upon // completion. void ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name, TF_Status* status); // Sets the experimental_type` field in the node_def Protocol Buffer.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jul 12 18:48:56 UTC 2023 - 3.5K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java
import org.mortbay.jetty.handler.HandlerList; /** * @author shinsuke * */ public class ApiExtractorTest extends PlainTestCase { final int port = 9876; final String ATTR_NAME = "filedata"; private TestApiExtractorServer server; private ApiExtractor extractor; @Override protected void setUp() throws Exception { super.setUp();
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 5.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
for (auto& attr : op->getAttrs()) { llvm::StringRef attr_name = attr.getName().getValue(); if (attribute_getter_map.find(attr_name.str()) != attribute_getter_map.end()) { auto attr_val = (attribute_getter_map[attr_name.str()])(rewriter, identifier_to_attr); attrs.push_back(rewriter.getNamedAttr(attr_name, attr_val)); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// `op_name` must outlive `op`. void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name, TF_Status* s); // `attr_name` must outlive `op`. void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name, TF_DataType value, TF_Status* s); void TF_DeleteAbstractTensor(TF_AbstractTensor*);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Oct 24 11:27:00 UTC 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/tfe_op_attrs_internal.h
// Set an AttrValue on the op. Doesn't handle the list types. void SetOpAttrValueScalar(TFE_Context* ctx, TFE_Op* op, const tensorflow::AttrValue& default_value, const char* attr_name, TF_Status* status); } // namespace tensorflow
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 10 05:41:19 UTC 2021 - 1.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_collective.cc
void runOnOperation() override; }; LogicalResult SetOnceModuleAttribute(StringRef attr_name, IntegerAttr attr_value, Operation* op, ModuleOp& module) { const auto ex_attr_value = module->getAttrOfType<IntegerAttr>(attr_name); if (ex_attr_value == nullptr) { module->setAttr(attr_name, attr_value); return success(); } if (ex_attr_value == attr_value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16K bytes - Viewed (0) -
tensorflow/c/ops.cc
TF_ShapeInferenceContext* ctx, const char* attr_name, c_type* val, \ TF_Status* status) { \ TF_SetStatus(status, TF_OK, ""); \ cc_type v; \ auto* cc_ctx = reinterpret_cast<InferenceContext*>(ctx); \ Status s = cc_ctx->GetAttr(attr_name, &v); \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 28 22:41:35 UTC 2022 - 10.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.cc
} tsl::Set_TF_Status_from_Status(s, tracing_op->SetOpName(op_name)); } void TF_AbstractOpSetAttrType(TF_AbstractOp* op, const char* const attr_name, TF_DataType value, TF_Status* s) { Status status = unwrap(op)->SetAttrType(attr_name, static_cast<DataType>(value)); TF_SetStatus(s, static_cast<TF_Code>(status.code()), absl::StatusMessageAsCStr(status)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 10:15:17 UTC 2024 - 9K bytes - Viewed (0)