- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 141 for created (0.08 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
RankedTensorType::get({3}, rewriter.getType<TF::StringType>()); auto dynamic_key = rewriter.create<TF::_XlaCompileMlirPlaceholderProgramKeyOp>( func.getLoc(), /*program=*/result_type, llvm::ArrayRef<Value>{}); auto recv_at_host = rewriter.create<TF::_XlaRecvAtHostOp>( func.getLoc(), op.getOperandTypes(), /*dynamic_key=*/dynamic_key, op.getSendKeyAttr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc
std::optional<Value> MaterializeIllegalCast(OpBuilder &builder, Type type, ValueRange inputs, Location loc) { return builder.create<UnrealizedConversionCastOp>(loc, type, inputs) ->getResult(0); } class StablehloToOdmlTypeConverter : public vhlo::VhloTypeConverter { public: StablehloToOdmlTypeConverter() : vhlo::VhloTypeConverter() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 19:48:51 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/jit/build_xla_ops_pass_test.cc
} FunctionDefLibrary CreateFunctionDefLibWithConstFunction(const string& name) { FunctionDefLibrary fdef_lib; FunctionDef func = FunctionDefHelper::Create( /*function_name=*/name, /*in_def=*/{}, /*out_def=*/{"out: float"}, /*attr_def*/ {}, /*node_def=*/{FunctionDefHelper::Const("one", 1.0f)}, /*ret_def=*/{{"out", "out:output:0"}});
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
bcast_dims); } else { return rewriter.notifyMatchFailure(bcast_op, "Unsupported element type."); } Value new_const_op = rewriter.create<mhlo::ConstantOp>(bcast_op.getLoc(), result); rewriter.replaceOp(bcast_op, {new_const_op}); return success(); } }; using FoldBroadcastInDimBeforeMulOp =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
return rewriter.notifyMatchFailure( contraction, "fused operation must be nested inside a function, If or While"); } // If the contraction is used in multiple places, fusing it will only create // more contraction nodes, which is slower. if (!contraction.getResult().hasOneUse()) return rewriter.notifyMatchFailure(contraction, "result is used by multiple ops");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/python/mlir.cc
std::string error; std::unique_ptr<llvm::ToolOutputFile> outputFile = mlir::openOutputFile(filename, &error); if (!error.empty()) { TF_SetStatus(status, TF_INVALID_ARGUMENT, ("Unable to create output file " + error).c_str()); return; } outputFile->keep(); if (failed(mlir::writeBytecodeToFile(*module, outputFile->os(), writer_config))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:16:49 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/aot/codegen.cc
const CompileResult& compile_result, string* methods) { const int num_args = ps.parameters_size(); // feed_size() + variable_size() is the maximum number of args as an // implementation may not create an argument for an unused variable. if (config.feed_size() + config.variable_size() < num_args) { return errors::InvalidArgument( "mismatch between feed_size(", config.feed_size(), ")+variable_size(",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 01:20:01 UTC 2024 - 36.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
CellReader<Histogram> compilation_time(kCompilationTimeStreamzName); CellReader<int64_t> compilation_status(kCompilationStatusStreamzName); FunctionDef empty_function = tensorflow::FunctionDefHelper::Create("empty", {}, {}, {}, {}, {}); tensorflow::FunctionDefLibrary fdef; *(fdef.add_function()) = empty_function; tensorflow::FunctionLibraryDefinition flib_def( tensorflow::OpRegistry::Global(), fdef);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc
}; // Insert custom aggregation op between operand and operator. rewriter.setInsertionPointAfterValue(value); Operation *aggregator_op = rewriter.create<TF::CustomAggregatorOp>( op->getLoc(), output_types, value, attributes); Value aggregator_op_result = aggregator_op->getOpResult(0); value.replaceAllUsesExcept(aggregator_op_result, aggregator_op);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_util.cc
const Edge* e; TF_RETURN_IF_ERROR(dst->input_edge(edges[i].dst_input, &e)); Node* src = e->src(); int src_output = e->src_output(), dst_input = e->dst_input(); g->RemoveEdge(e); // Find or create placeholder node. string new_name = absl::StrCat(src->name(), "_oc_to_oc_placeholder_", src_output); auto placeholder_index = std::make_pair(src->name(), src_output);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.5K bytes - Viewed (0)