- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 123 for getBlob (0.26 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
} else { return failure(); } } rewriter.setInsertionPointAfter(candidate_op); OperationState new_state(candidate_op->getLoc(), candidate_op->getName().getStringRef(), inputs, output_types, candidate_op->getAttrs()); for (int i = 0; i < candidate_op->getNumRegions(); ++i) {
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/quantization/common/lift_as_function_call_test.cc
}; const SmallVector<Value> operands(dot_general_op->getOperands()); const SmallVector<Value> results(dot_general_op->getResults()); Operation* lifted_op = LiftAsFunctionCall(builder_, dot_general_op->getLoc(), FunctionCallOpType::TFXlaCallModuleOp, "composite_dot_general_fn", operands, results, attributes)[0] .getDefiningOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 26.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/unroll_batch_matmul.cc
return failure(); } std::vector<int64_t> lhs_shape = lhs_type.getShape(); std::vector<int64_t> rhs_shape = rhs_type.getShape(); Location loc = op.getLoc(); // Ensure that input ranks are at least 2. const int lhs_dims = lhs_shape.size(); const int rhs_dims = rhs_shape.size(); if (lhs_dims < 2 || rhs_dims < 2) { // Both inputs must have rank >= 2
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc
auto fetches = llvm::to_vector(old_main_fetch.getFetches()); fetches.emplace_back(value); auto builder = OpBuilder::atBlockTerminator(&graph_op.GetBody()); builder.create<FetchOp>(old_main_fetch.getLoc(), std::move(fetches)); old_main_fetch.erase(); } void MergeSaveFunctionOpsToMain(func::FuncOp save_func_op, func::FuncOp main_func_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.7K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2.go
if found { continue } // Explicitly try to get the job from api-server to avoid a slow watch not able to update // the job lister on time, giving an unwanted miss _, err := jm.jobControl.GetJob(j.Namespace, j.Name) switch { case errors.IsNotFound(err): // The job is actually missing, delete from active list and schedule a new one if within // deadline
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 09 03:34:25 UTC 2024 - 29.2K 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); } return success(); }
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/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
return !wrapped_ops.count(user.getOwner()); })) result_types.push_back(result.getType()); } } IslandOp new_island = OpBuilder(island).create<IslandOp>( island.getLoc(), result_types, /*control=*/ControlType::get(island.getContext()), /*controlInputs=*/island.getOperands()); new_island.getBody().push_back(new Block);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
pkg/volume/emptydir/empty_dir_test.go
t.Errorf("fail to create path: %s", volPath) } } // Stat the directory and check the permission bits testSetUp(mounter, metadataDir, volPath) log := physicalMounter.GetLog() // Check the number of mounts performed during setup if e, a := config.expectedSetupMounts, len(log); e != a { t.Errorf("Expected %v physicalMounter calls during setup, got %v", e, a)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 10:18:16 UTC 2024 - 30.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
// resolved. Type type; TF_RETURN_IF_ERROR(ConvertDataTypeToTensor(dtype, builder_, &type)); *handle = new MlirTensor(func_.getBody().front().addArgument(type, func_.getLoc())); return absl::OkStatus(); } Status MlirAbstractOp::AddInput(AbstractTensorHandle* input) { if (current_ods_input_ >= op_def_->input_arg_size()) return InvalidArgument(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/reduce_while_operands.cc
new_operands.push_back(while_op.getOperand(i)); new_result_types.push_back(while_op.getResultTypes()[i]); } } auto new_while_op = OpBuilder(while_op).create<WhileOp>( while_op.getLoc(), new_result_types, new_operands, while_op->getAttrs()); new_while_op.getCond().takeBody(while_op.getCond()); new_while_op.getBody().takeBody(while_op.getBody()); for (auto i = 0; i < n; ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0)