- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for getAxes (0.23 sec)
-
tensorflow/compiler/mlir/lite/transforms/optimize.cc
auto values_slice_op = llvm::dyn_cast_or_null<TFL::SliceOp>( values.getUses().begin().getUser()); values_slice_op.getResult().replaceAllUsesWith(top_k_op.getValues()); values_slice_op.erase(); } if (!indices.use_empty()) { auto indices_slice_op = llvm::dyn_cast_or_null<TFL::SliceOp>( indices.getUses().begin().getUser());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// to it have the same shape, we need to follow use-def chain of ops that // (conceptually) modify it i.e., ops that take an input TensorList and // produce an output TensorList. for (auto& use : tensorlist.getUses()) { if (auto push = llvm::dyn_cast<TensorListPushBackOp>(use.getOwner())) { auto element_type = mlir::dyn_cast<RankedTensorType>(push.getTensor().getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
// OneHotOp //===----------------------------------------------------------------------===// LogicalResult OneHotOp::verify() { OneHotOp op = *this; int64_t axis = op.getAxis(); auto indices_ty = op.getIndices().getType().dyn_cast<RankedTensorType>(); if (indices_ty && !(axis == -1 || (axis >= 0 && axis <= indices_ty.getShape().size()))) { return op.emitOpError()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
nullptr> static LogicalResult Verify(OpT op) { if (!IsOfRankOrUnranked(op.getAxis(), 0)) return op.emitOpError("requires scalar axis operand"); DenseIntElementsAttr axis_attr; if (matchPattern(op.getAxis(), m_Constant(&axis_attr))) { auto input_ty = mlir::dyn_cast<RankedTensorType>(op.getX().getType()); if (input_ty) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
int32_t axis_value = op.getAxis(); if (axis_value < 0) axis_value += input_type.getRank() + 1; if (axis_value < 0 || axis_value >= input_type.getRank() + 1) return op.emitOpError() << "op attribute 'axis' should be in range [-rank - 1, rank + 1), " << "got rank = " << input_type.getRank() << ", and axis = " << op.getAxis(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
} // TODO(tallclair): Pass a proper timeout value. return kl.runner.RunInContainer(ctx, container.ID, cmd, 0) } // GetExec gets the URL the exec will be served from, or nil if the Kubelet will serve it. func (kl *Kubelet) GetExec(ctx context.Context, podFullName string, podUID types.UID, containerName string, cmd []string, streamOpts remotecommandserver.Options) (*url.URL, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// marked as a stateful. If so, set the tensor's is_variable as true // This is v1 ref variable semantics in the TFLite runtime. bool is_variable = false; for (auto& use : value.getUses()) { is_variable = IsStatefulOperand(use.getOwner(), use.getOperandNumber()); if (is_variable) { break; } } // The value is used as a variable if produced by an op with "tfl.is_variable"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
platforms/software/dependency-management/src/main/resources/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/verification/report/uikit.min.js
?"":"-center")).split("-")},dir:function(){return this.pos[0]},align:function(){return this.pos[1]}},methods:{positionAt:function(t,e,i){var n;Pe(t,this.clsPos+"-(top|bottom|left|right)(-[a-z]+)?"),Ve(t,{top:"",left:""});var r=this.offset,o=this.getAxis();B(r)||(r=(n=Ce(r))?si(n)["x"===o?"left":"top"]-si(e)["x"===o?"right":"bottom"]:0);var s=oi(t,e,"x"===o?vi(this.dir)+" "+this.align:this.align+" "+vi(this.dir),"x"===o?this.dir+" "+this.align:this.align+" "+this.dir,"x"===o?""+("left"===this.dir?-r:r):"...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 130.5K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods_test.go
fakeRuntime := &containertest.FakeStreamingRuntime{FakeRuntime: testKubelet.fakeRuntime} kubelet.containerRuntime = fakeRuntime kubelet.streamingRuntime = fakeRuntime redirect, err := kubelet.GetExec(ctx, tc.podFullName, podUID, tc.container, tc.command, remotecommand.Options{}) if tc.expectError { assert.Error(t, err, description) } else { assert.NoError(t, err, description)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 198.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
arg_nodes_to_values.try_emplace({arg_node.node, arg_node.index}, arg_def); island->getResult(0).replaceAllUsesWith(arg_def); // Erase control outputs from feed. auto control_uses = island->getResult(1).getUses(); for (auto& control_use : llvm::make_early_inc_range(control_uses)) control_use.getOwner()->eraseOperand(control_use.getOperandNumber()); if (!arg_node.node->requested_device().empty())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0)