- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 74 for resource_type (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/readonly_references_to_resources.cc
return signalPassFailure(); } VarHandleOp var_handle_op = builder.create<VarHandleOp>( variable_v2_op.getLoc(), ArrayRef<Type>{RankedTensorType::get( {}, TF::ResourceType::get(ArrayRef<TensorType>{tensor_type}, builder.getContext()))}, ArrayRef<Value>{}, ArrayRef<NamedAttribute>{ builder.getNamedAttr("device", device_attr),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_hashtables.cc
LogicalResult matchAndRewrite(TF::HashTableV2Op hashtable_op, PatternRewriter& rewriter) const override { auto output_type = RankedTensorType::get( {1}, TF::ResourceType::get(rewriter.getContext())); // Hash the shared name to generate integer hash table id. The TFLite // native resource design is based on integer keys to identify the // corresponding resource objects.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc
namespace mlir { namespace TF { namespace { bool IsResourceType(Type type) { if (auto tensor_type = mlir::dyn_cast<TensorType>(type)) { return mlir::isa<TF::ResourceType>(tensor_type.getElementType()); } return false; } bool IsResource(Value value) { return IsResourceType(value.getType()); } // Helper that returns the FuncOp that is the SessionInit function which
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 8K bytes - Viewed (0) -
pkg/config/analysis/msg/messages.gen.go
return diag.NewMessage( ImageAutoWithoutInjectionWarning, r, resourceType, resourceName, ) } // NewImageAutoWithoutInjectionError returns a new diag.Message based on ImageAutoWithoutInjectionError. func NewImageAutoWithoutInjectionError(r *resource.Instance, resourceType string, resourceName string) diag.Message {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 22 10:13:03 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/convert_type.cc
return builder.getIntegerType(8); case tflite::TensorType_UINT64: return builder.getIntegerType(64, /*isSigned=*/false); case tflite::TensorType_RESOURCE: return mlir::TF::ResourceType::get(builder.getContext()); case tflite::TensorType_VARIANT: return mlir::TF::VariantType::get(builder.getContext()); } } tensorflow::DataType TflTypeToTfType(tflite::TensorType type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/freeze_global_tensors.cc
// partial behavior from `allow_mutable_tensor`. DenseMap<BlockArgument, bool> freezeable; for (auto func : module.getOps<func::FuncOp>()) { for (BlockArgument val : func.getArguments()) { if (!mlir::isa<TF::ResourceType>(getElementTypeOrSelf(val.getType()))) continue; // Check that there is only a single global tensor associated with arg. const TF::ResourceDataflowState *latticeElement =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.8K bytes - Viewed (0) -
pilot/pkg/xds/sds.go
// Fetch the appropriate cluster's secret, based on the credential type var secretController credscontroller.Controller switch sr.ResourceType { case credentials.KubernetesGatewaySecretType: secretController = configClusterSecrets default: secretController = proxyClusterSecrets }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
auto handle_type = mlir::cast<TensorType>(handle.getType()); if (handle_type.getElementType().isInteger(/*width=*/32)) { Type resource_tensor_type = handle_type.clone(TF::ResourceType::get(rewriter.getContext())); handle.setType(resource_tensor_type); } } // Special type fixes for scalar tensor types.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
pilot/pkg/xds/ecds.go
if len(split) != 2 { return SecretResource{}, fmt.Errorf("misformed Wasm pull secret resource name %v", resourceName) } return SecretResource{ SecretResource: credentials.SecretResource{ ResourceType: credentials.KubernetesSecretType, Name: split[1], Namespace: split[0], ResourceName: resourceName, Cluster: proxyCluster, }, }, nil
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 16 18:25:42 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc
#include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc" bool IsResourceTensor(Value value) { const auto tensor_type = mlir::dyn_cast<TensorType>(value.getType()); return tensor_type && mlir::isa<mlir::TF::ResourceType>(tensor_type.getElementType()); } // The default criterion for operations being considered as causing or being // dependent on side effects. Reflects the current runtime logic; see below.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7K bytes - Viewed (0)