Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for resource_type (0.18 sec)

  1. pilot/pkg/xds/bench_test.go

    	Services int
    	// Number of instances to make
    	Instances int
    	// If set, only run for this config type
    	OnlyRunType string
    	// If set, skip runs for this config type
    	SkipType string
    	// ResourceType of proxy to generate configs for. If not set, sidecar is used
    	ProxyType model.NodeType
    }
    
    var testCases = []ConfigInput{
    	{
    		// Gateways provides an example config for a large Ingress deployment. This will create N
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 22 18:13:40 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

      for (auto it : llvm::enumerate(var_access_info.new_operand_values)) {
        Type type = it.value().getType();
        if (type.isa<TensorType>() &&
            type.cast<TensorType>().getElementType().isa<TF::ResourceType>()) {
          if (!llvm::is_contained(device_var_reads_indices, it.index()) &&
              !llvm::is_contained(device_var_updates_indices, it.index())) {
            return execute_launch.GetBody().front().emitError("operand #")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      return parsed_device.has_type && parsed_device.type == kTPUReplicatedCore;
    }
    
    bool TypeValidForXLA(const mlir::Type& type) {
      const mlir::Type elem = getElementTypeOrSelf(type);
      return !mlir::isa<mlir::TF::ResourceType>(elem) &&
             !mlir::isa<mlir::TF::StringType>(elem);
    }
    
    mlir::LogicalResult GetDeviceToHostMap(
        mlir::tf_device::ClusterOp cluster,
        llvm::SmallVector<std::string, 8>& core_to_host) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/convert_control_to_data_outputs.cc

          assert(while_caller.body_function() == func);
          while_callers.push_back(while_caller);
        }
      }
      return while_callers;
    }
    
    bool IsResourceType(Type type) {
      return mlir::isa<TF::ResourceType>(getElementTypeOrSelf(type));
    }
    
    bool OnlyOperatesOnCompositeDevices(
        TF::TPUExecuteAndUpdateVariablesOp& op,
        const TF::SideEffectAnalysis::Info& side_effect_analysis,
        const DataFlowSolver& solver) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

                auto etype, ConvertToMlirTensorType(shape_proto, dtype, &builder));
            return mlir::UnrankedTensorType::get(mlir::TF::ResourceType::get(
                {mlir::cast<TensorType>(etype)}, builder.getContext()));
          } else {
            return mlir::UnrankedTensorType::get(
                mlir::TF::ResourceType::get(builder.getContext()));
          }
        } else if (auto shape = node.attrs().Find("_output_shapes")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

      for (auto val : input) types.push_back(val.getType());
      return types;
    }
    
    bool IsResourceType(Type val_type) {
      if (auto tensor_type = mlir::dyn_cast<mlir::TensorType>(val_type)) {
        if (mlir::isa<TF::ResourceType>(tensor_type.getElementType())) {
          return true;
        }
      }
      return false;
    }
    
    bool IsTPUOp(mlir::Operation* op) {
      return op->hasAttr(TF::kReplicationInfoAttr);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        auto elementType = getElementTypeOrSelf(operand.getType());
        if (mlir::isa<mlir::TF::ResourceType>(elementType)) {
          return true;
        }
      }
      for (const auto& result : op->getResults()) {
        auto elementType = getElementTypeOrSelf(result.getType());
        if (mlir::isa<mlir::TF::ResourceType>(elementType)) {
          return true;
        }
      }
      return false;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

    namespace mlir {
    namespace TFDevice {
    namespace {
    
    bool IsResourceType(Type val_type) {
      if (auto tensor_type = mlir::dyn_cast<mlir::TensorType>(val_type)) {
        if (mlir::isa<TF::ResourceType>(tensor_type.getElementType())) {
          return true;
        }
      }
      return false;
    }
    
    struct EmbeddingPipeliningPass
        : public ::impl::EmbeddingPipeliningPassBase<EmbeddingPipeliningPass> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        This pass promotes resource accesses in function(s) (by default, the main)
        to input arguments and outputs of the function(s).
    
        Two types of resources are supported:
        (1) A function argument of TF::ResourceType type (this pass).
        (2) A VarHandleOp in the function (tf-promote-var-handles-to-args).
    
        After the pass,
    
         . The function will have an input argument for each resource that is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    This pass promotes resource accesses in function(s) (by default, the main)
    to input arguments and outputs of the function(s).
    
    Two types of resources are supported:
    (1) A function argument of TF::ResourceType type (this pass).
    (2) A VarHandleOp in the function (tf-promote-var-handles-to-args).
    
    After the pass,
    
     . The function will have an input argument for each resource that is
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top