- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 236 for casts (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
auto op = cast<ResizeNearestNeighborOp>(src_op); auto loc = op.getLoc(); auto result_ty = mlir::cast<ShapedType>(op.getType()); auto input = op.getImages(); auto input_ty = mlir::cast<ShapedType>(input.getType()); auto input_element_ty = input_ty.getElementType(); auto out_size = op.getSize(); auto out_size_ty = mlir::cast<ShapedType>(out_size.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
#include "tensorflow/core/common_runtime/eager/tensor_handle.h" #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/platform/casts.h" #include "tensorflow/core/platform/env.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/macros.h" #include "tensorflow/core/platform/protobuf.h"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"$0.isa<DenseElementsAttr>() && " "$0.cast<DenseElementsAttr>().getNumElements() == 1 && " "(($0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isLargest() && " "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegative()) || " "$0.cast<DenseElementsAttr>().getValues<APFloat>()[0].isNegInfinity())">>; def L2NormValidReduceIndex : Constraint<CPred< "L2NormalizeReduceAxis($0, $1.cast<DenseElementsAttr>())">>;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir
// CHECK-DAG: %[[CST1:.*]] = "tf.Const"() <{value = dense<0> : tensor<1x24xi32>}> : () -> tensor<1x24xi32> // CHECK: %[[CAST0:.*]] = "tf.Cast"(%arg0) <{Truncate = false}> : (tensor<1x24xi1>) -> tensor<1x24xi32> // CHECK: %[[CAST1:.*]] = "tf.Cast"(%arg2) <{Truncate = false}> : (tensor<1x2xi1>) -> tensor<1x2xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc
filter_i8_value_attr = mlir::cast<DenseIntElementsAttr>( cast<stablehlo::ConstantOp>(filter_op->getOperand(0).getDefiningOp()) .getValue()); } // Create Uniform Quantized constant for the filter. auto subtract_op = cast<stablehlo::SubtractOp>(*op.getResult().user_begin()); auto other_conv_op = cast<stablehlo::ConvolutionOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 64.6K bytes - Viewed (0) -
tests/integration/security/authz_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
// to // Fill(Concat(num_element, element_shape), 0) // because element_shape may contain -1 to represent unknown dimension. // // In real world use cases (e.g. Keras RNN), `element_shape` is usually // a constant, and the first dimension of `element_shape` is usually // batch dimension. Currently TFLiteConverter always rewrite unknown
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
return errors::InvalidArgument("Cast requires 2 arguments"); } if (grad_inputs.size() != 1) { return errors::InvalidArgument("Cast grad requires 1 grad input"); } auto src_type = op.input_type(0); auto dst_type = grad_inputs[0].type(); if (IsFloatingPointDtype(src_type) && IsFloatingPointDtype(dst_type)) { grad_outputs->push_back(Cast(scope, grad_inputs[0], src_type)); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go
} func TestCostEstimation(t *testing.T) { cases := []struct { name string schemaGenerator func(maxLength *int64) *schema.Structural setMaxElements int64 // calc costs expectations are checked against the generated schema without any max element limits set expectedCalcCost uint64 expectCalcCostExceedsLimit uint64
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 51.5K bytes - Viewed (0) -
src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go
if cast != nil { st.setTemplate(cast, tmpl) st.clearTemplateArgs(args) cast = nil } a = nil next = tmpl case 'T': next = st.templateParam() case 'E': if a == nil { st.fail("expected prefix") } if cast != nil { var toTmpl *Template if castTempl, ok := cast.To.(*Template); ok { toTmpl = castTempl
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 94.1K bytes - Viewed (0)