- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for getParams (0.37 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskPropertiesIntegrationTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 03 15:21:23 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
PatternRewriter &rewriter) const override { auto result_value = gather_nd_first.getResult(); auto params_value = gather_nd_first.getParams(); auto indices_value = gather_nd_first.getIndices(); auto result_type = dyn_cast<RankedTensorType>(result_value.getType()); auto params_type = dyn_cast<RankedTensorType>(params_value.getType());
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/tf2xla/transforms/legalize_tf.cc
rewriter.replaceOpWithNewOp<mhlo::GatherOp>( op, op.getType(), op.getParams(), op.getIndices(), dims_attr, GetI64ElementsAttr(slice_sizes, &rewriter)); } else { rewriter.replaceOpWithNewOp<mhlo::DynamicGatherOp>( op, op.getType(), op.getParams(), op.getIndices(), slice_sizes_value, dims_attr); } return success(); } };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc
DenseIntElementsAttr axis_attr; if (matchPattern(op.getAxis(), m_Constant(&axis_attr))) { int64_t axis = (*axis_attr.begin()).getSExtValue(); if (auto ty = mlir::dyn_cast<RankedTensorType>(op.getParams().getType())) { int64_t rank = ty.getRank(); if (axis >= rank || axis < -rank) return op.emitOpError() << "axis (" << axis << ") must be in range ["
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/tensorflow/transforms/shape_inference.cc
return req; } return {}; } ValuePort ComputeInputComponentFor(GatherV2Op op, ArrayRef<unsigned int> port) { if (port.size() != 2) return {}; assert(port[0] == 0); auto params = op.getParams(); auto params_ty = mlir::dyn_cast<RankedTensorType>(params.getType()); if (!params_ty || !params_ty.hasStaticShape() || params_ty.getRank() != 1 || op.getBatchDims() != 0) { return {}; }
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/c/experimental/gradients/array_grad_test.cc
TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); status_ = StatusFromTF_Status(status.get()); ASSERT_EQ(errors::OK, status_.code()) << status_.message(); { AbstractContext* ctx_raw = nullptr; status_ = BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); ASSERT_EQ(errors::OK, status_.code()) << status_.message();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 5K bytes - Viewed (0) -
src/crypto/tls/quic_test.go
t.Fatalf("error during connection handshake: %v", err) } if cli.gotParams == nil { t.Errorf("client did not get transport params") } if srv.gotParams == nil { t.Errorf("server did not get transport params") } if len(cli.gotParams) != 0 { t.Errorf("client got transport params: %v, want empty", cli.gotParams) } if len(srv.gotParams) != 0 { t.Errorf("server got transport params: %v, want empty", srv.gotParams)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 19.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
// Gather op //===----------------------------------------------------------------------===// LogicalResult GatherOp::verify() { GatherOp op = *this; ShapedType params_type = op.getParams().getType().cast<ShapedType>(); // TFLite gather kernel supports 1D string input only. if (params_type.getElementType().isa<mlir::TF::StringType>()) { if (params_type.hasRank() && params_type.getRank() != 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_test.cc
TF_StatusPtr status(TF_NewStatus()); TF_SetTracingImplementation(std::get<0>(GetParam()), status.get()); Status s = StatusFromTF_Status(status.get()); CHECK_EQ(errors::OK, s.code()) << s.message(); } public: bool UseMlir() const { return strcmp(std::get<0>(GetParam()), "mlir") == 0; } bool UseFunction() const { return std::get<2>(GetParam()); } }; // Checks that inputs[0] is a scalar.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 6.7K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_variable_loading_test.cc
// Sanity check that constructing a tensorflow::Variable from a SavedVariable // 1. does not cause an error // 2. preserves dtype and shape. TEST_P(SavedVariableLoadingTest, LoadSavedVariableSuccessful) { auto& test_params = GetParam(); DataType dtype = std::get<0>(test_params); TensorShape shape(std::get<1>(test_params)); SavedVariable saved_variable; saved_variable.set_dtype(dtype); shape.AsProto(saved_variable.mutable_shape());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 09:34:33 UTC 2024 - 6.2K bytes - Viewed (0)