- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for output_index (0.21 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/mark_input_output_aliases.cc
}; constexpr char kAliasingAttr[] = "tf.aliasing_output"; constexpr int kUnassigned = -1; struct AliasInfo { AliasInfo() : input_index(kUnassigned), output_index(kUnassigned) {} int input_index; int output_index; }; // Idenitfy tf_device.cluster_func input-output alias pairs. // This is currently conservative, primarily handling the following base case: // ```
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 04:14:26 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/aot/test_graph_tfunknownop3.config.pbtxt
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Sep 16 02:38:25 UTC 2017 - 372 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_sharding_util.cc
for (auto& use : llvm::make_early_inc_range( old_parallel_execute->getResult(output_index).getUses())) { use.set(new_parallel_execute->getResult(output_index)); } continue; } int tpu_cluster_output_index = output_index - num_results_pre_cluster; const auto& output_sharding = output_sharding_config[tpu_cluster_output_index];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 21:28:13 UTC 2024 - 34K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_main_function.cc
// Ex: If the model output list is ["add:0", "topk:0": "topk:1"], then the // output corresponding to "topk:1" will have output_index=2 and tensor_index=1. struct OutputInfo { // The index of this output in the model output list. int32_t output_index; // The index of this output in its node. int32_t tensor_index; // The output value. Value value; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 16.5K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_launch_util_test.cc
return device_tensor; } // Gets the `output_index`-th output set in the context_ Tensor* GetOutput(int output_index) { CHECK_LT(output_index, context_->num_outputs()); Tensor* device_tensor = context_->mutable_output(output_index); managed_outputs_.resize(context_->num_outputs()); if (managed_outputs_[output_index]) { return managed_outputs_[output_index]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_device_inference.cc
for (auto output : filter_resources(while_region.getResults())) { auto device = result->DeviceForResource(output); int output_index = output.getResultNumber(); if (!device) { LLVM_DEBUG(llvm::dbgs() << " No device for output #" << output_index << "\n"); continue; } // Transfer the annotation to both region arguments
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 03 03:47:00 UTC 2023 - 13.3K bytes - Viewed (0) -
tensorflow/c/kernels_experimental.h
// This interface forwards the reference from input to the output tensors // corresponding to the indices provided with `input_index` and `output_index` TF_CAPI_EXPORT extern void TF_OpKernelContext_ForwardRefInputToRefOutput( TF_OpKernelContext* ctx, int32_t input_index, int32_t output_index); // The API releases the opaque lock handle returned with // `TF_MaybeLockVariableInputMutexesInOrder` API
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 07 14:44:39 UTC 2023 - 9.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
LogicalResult processRestrictScale(SourceOp op, int input_index, int output_index, PatternRewriter& rewriter) const { assert(output_index == 0); if (!op.getResult().hasOneUse()) { op.emitError() << "output " << output_index << " should have only one use, which should be quant.stats."; return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
const int num_output_types = op.getOperation()->getNumResults(); if (num_output_types != output_index) { return op.emitOpError() << "number of output types (" << num_output_types << ") " << "must match the total number of outputs from all " << "regions (" << output_index << ")."; } return success(); } // static
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
for (const auto& output_index_pair : outputs_replaced) { Value output = output_index_pair.getFirst(); int output_index = output_index_pair.getSecond(); auto scast_op = rewriter.create<quantfork::StorageCastOp>( output.getLoc(), output.getType(), quantized_op->getResult(output_index)); output.replaceAllUsesWith(scast_op); } changed = true; } return success(changed);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0)