Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for tcgetattr (0.13 sec)

  1. tensorflow/compiler/mlir/tfr/passes/decompose.cc

            new_operands.push_back(build_list_op.getOut());
          } else {
            auto attr_name = compose_func.getArgAttrOfType<StringAttr>(
                arg.index(), kAttrArgumentNameAttr);
            auto attribute = op->getAttr(attr_name.getValue());
            if (!attribute) {
              attribute =
                  compose_func.getArgAttr(arg.index(), kAttrArgumentDefaultAttr);
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
      ASSERT_EQ(attr.DebugString(), read_attr.DebugString());
    
      // Retrieve the same attr after save/restore
      Reincarnate();
      AttrValue read_attr2;
      GetAttr("test_attr_name", &read_attr2);
      ASSERT_EQ(attr.DebugString(), read_attr2.DebugString());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

      if (!op->hasAttr(TF::kTpuReplicateAttr)) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "missing _tpu_replicate attr");
        return false;
      }
      auto opattr = op->getAttr(TF::kTpuReplicateAttr);
      if (opattr != attr) {
        op->emitOpError("TF2XLA TPU bridge input check: " + errormsg() +
                        "invalid _tpu_replicate attr.")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

            float_func.emitError("The attr_map attribute is malformed");
            return failure();
          }
          identifier_to_attr.insert(
              {llvm::StringRef(std::string(key_and_value_pair[1])),
               inner_op.getAttr(
                   llvm::StringRef(std::string(key_and_value_pair[1])))});
        }
      }
    
      // Set the attributes for ops with the attr_map attribute.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_merge_variables_with_execute.cc

        if (check_device) {
          // TODO(lyandy): Wrap resource ops in tf_device.launch.
          if (auto* resource_op = resource.getDefiningOp()) {
            auto resource_attr = resource_op->getAttr(kDeviceAttr);
            // Check device matching for the node defining the resource.
            if (!IsResourceMergeable(resource_attr, device_attr)) continue;
          } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 17:52:11 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. fastapi/params.py

            self, dependency: Optional[Callable[..., Any]] = None, *, use_cache: bool = True
        ):
            self.dependency = dependency
            self.use_cache = use_cache
    
        def __repr__(self) -> str:
            attr = getattr(self.dependency, "__name__", type(self.dependency).__name__)
            cache = "" if self.use_cache else ", use_cache=False"
            return f"{self.__class__.__name__}({attr}{cache})"
    
    
    class Security(Depends):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  7. pkg/ctrlz/assets/static/js/prism-1.14.0.min.js

    ile|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

                                                    TF_Status* status) {
      ::tensorflow::TensorShape shape;
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelConstruction*>(ctx);
      ::tensorflow::Status s = cc_ctx->GetAttr(attr_name, &shape);
      ::tensorflow::Set_TF_Status_from_Status(status, s);
      size_t rank = static_cast<size_t>(shape.dims());
    
      if (!status->status.ok()) return;
    
      if (num_dims != rank) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            # skip a non-composition function
            if optional:
              return (None, None)
            else:
              raise KeyError('OpDef does not exist: ' + f_name)
          op_name = getattr(func_def, '_tfr_op_name')
        elif not func_def:
          op_name = f_name
        else:
          # TODO(fengliuai): create one utility method to match different APIs.
          compose_dec = []
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc

        ModuleOp module_op = op->getParentOfType<ModuleOp>();
    
        // Ignore ops without quantization method.
        // Consider adding checks for individual methods.
        if (!op->getAttr(kQuantizationMethodAttr)) return failure();
    
        // Ignore unquantized ops.
        if (!IsQuantizedXlaCallModuleOp(op)) return failure();
    
        // For weight-only quantization, op should be hybrid quantized.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 06:04:36 UTC 2024
    - 41.7K bytes
    - Viewed (0)
Back to top