- Sort Score
- Result 10 results
- Languages All
Results 201 - 210 of 258 for created (0.24 sec)
-
tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_ops.cc
TF::Conv2DOp, TF::DepthwiseConv2dNativeOp, TF::Conv2DBackpropInputOp, TF::Conv3DOp, TF::Conv3DBackpropInputV2Op // clang-format on >(op); } // Creates the custom option of the Flex ops. inline void CreateFlexOpCustomOptions(const std::string &op_name, const std::string &node_def_str,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/c/kernels/histogram_summary_op.cc
#include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/protobuf.h" #include "tensorflow/core/platform/tstring.h" #include "tensorflow/core/platform/types.h" namespace { // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status. struct TFTensorDeleter { void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); } }; struct TFStatusDeleter {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
} } // Create a dense constant op for slice's begin auto slice_i2c_begin = CreateI64DenseConst(builder, begin_shape, begin_values, location); // Create a dense constant op for slice's size auto slice_i2c_size = CreateI64DenseConst(builder, size_shape, size_values, location); return builder->create<TF::SliceOp>( location, RankedTensorType::get(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K 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/jit/extract_outside_compilation_pass.cc
data_types, outside_compilation_nodes, g, n); return absl::OkStatus(); } // Creates a mapping from outside compilation cluster name to lifted argument // placeholder. absl::StatusOr<std::unordered_map<string, Node*>> OutsideCompilationAttrToNode( const Graph& g) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 104.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/tests/saved_model/saved_model_test.cc
auto runtime = tensorflow::tfrt_stub::Runtime::Create(/*num_inter_op_threads=*/1); tfrt_stub::GraphExecutionOptions options(runtime.get()); options.compile_options.device_target = TfrtDeviceInfraTarget::kGpu; TF_ASSERT_OK_AND_ASSIGN( std::unique_ptr<tfrt_stub::FallbackState> fallback_state, tfrt_stub::FallbackState::Create(SessionOptions(), FunctionDefLibrary()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Oct 13 01:17:29 UTC 2023 - 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/mlir/lite/transforms/push_transpose_through_ewise.cc
auto new_out_type = RankedTensorType::get( PermuteShape(current_out_type.getShape(), inverse_perm_arr), current_out_type.getElementType()); // Create new ewise op to appear before the tranpose. auto *new_ewise_op = rewriter.create(op->getLoc(), op->getName().getIdentifier(), {tpose_arg1.getOperand(0), tpose_arg2.getOperand(0)}, new_out_type, op->getAttrs());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc
} } // Replace the arg with a tf.Const op in the function body. builder.setInsertionPointToStart(&func.getBody().front()); auto const_op = builder.create<TF::ConstOp>(global_tensor.getLoc(), *global_tensor.getValue()); args_to_erase.set(val.getArgNumber()); for (auto read_op : read_variable_ops_to_erase) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/add_functions_for_exported_names.cc
f.setName(StringAttr::get(f->getContext(), f.getName() + "_internal")); for (StringRef name : llvm::reverse(exported_names)) { // Create a "trampoline" function with the given name. So given // func bar(...) {exported_names = ["foo"]} // we create // func foo(...) { // return bar(...) // } func::FuncOp other = f.cloneWithoutRegions(); other.setName(name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 08:06:04 UTC 2023 - 4.5K bytes - Viewed (0)