Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 95 for getHttp (0.24 sec)

  1. pilot/pkg/networking/core/route/route.go

    				},
    			},
    		}
    	case *networking.LoadBalancerSettings_ConsistentHashLB_HttpCookie:
    		cookie := consistentHash.GetHttpCookie()
    		var ttl *durationpb.Duration
    		if cookie.GetTtl() != nil {
    			ttl = cookie.GetTtl()
    		}
    		return &route.RouteAction_HashPolicy{
    			PolicySpecifier: &route.RouteAction_HashPolicy_Cookie_{
    				Cookie: &route.RouteAction_HashPolicy_Cookie{
    					Name: cookie.GetName(),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 56.1K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                                  const char* attr_name) {
      bool out = false;
      bool attr_value;
      if (TryGetNodeAttr(node->attrs(), attr_name, &attr_value)) {
        out |= attr_value;
      }
    
      if (flib_def->GetAttr(*node, attr_name, &attr_value).ok()) {
        out |= attr_value;
      }
      return out;
    }
    
    Status MarkForCompilationPassImpl::BuildInitialClusterSet() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        }
        // Recreate the attributes dictionary to only contain "value".
        NamedAttrList attributes;
        attributes.append(NamedAttribute(value_str_attr, cst->getAttr("value")));
        cst->setAttrs(attributes.getDictionary(&getContext()));
      });
    
      auto& side_effect_analysis = getAnalysis<mlir::TF::SideEffectAnalysis>();
      for (auto func : getOperation().getOps<mlir::func::FuncOp>())
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

          for (const auto& attr_name : attr_names) {
            if (!global_iter_id_op->hasAttr(attr_name)) continue;
            offset->setAttr(attr_name, global_iter_id_op->getAttr(attr_name));
            new_global_iter_id->setAttr(attr_name,
                                        global_iter_id_op->getAttr(attr_name));
          }
          // Make the next function to get inlined use a different offset.
          ++offset_value;
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. fastapi/routing.py

                    "/"
                ), "A path prefix must not end with '/', as the routes will start with '/'"
            else:
                for r in router.routes:
                    path = getattr(r, "path")  # noqa: B009
                    name = getattr(r, "name", "unknown")
                    if path is not None and not path:
                        raise FastAPIError(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 170.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (padding == tensorflow::Padding::EXPLICIT) {
        ArrayRef<Attribute> explicit_padding;
        ArrayAttr explicit_pad = mlir::dyn_cast_or_null<::mlir::ArrayAttr>(
            op->getAttr("explicit_paddings"));
        if (!explicit_pad) {
          explicit_pad = ::mlir::Builder(op->getContext()).getI64ArrayAttr({});
        }
        explicit_padding = explicit_pad.getValue();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc

               llvm::all_of(op->getResultTypes(), is_not_variant);
      };
    
      auto is_set_item_legal = [](Operation *op) {
        return op->hasAttr("resize_if_index_out_of_bounds") &&
               op->getAttr("resize_if_index_out_of_bounds")
                   .cast<mlir::BoolAttr>()
                   .getValue();
      };
    
      ConversionTarget target(*context);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 70.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        // folding), but we can still derive the shape of a constant tensor for
        // its attribute type.
        auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value"));
        llvm::ArrayRef<int64_t> shape_ref =
            mlir::cast<TensorType>(tensor_attr.getType()).getShape();
        if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top