Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 104 for get_attr (0.3 sec)

  1. tensorflow/compiler/mlir/tfr/examples/mnist/ops_defs.py

          grad, axis=reduction_axes, keepdims=True)
      bias_grad = tf.reshape(updates_grad_reshaped, input_value_shape)
    
      dilations = [1, op.get_attr('dilation_w'), op.get_attr('dilation_h'), 1]
      strides = [1, op.get_attr('stride_w'), op.get_attr('stride_h'), 1]
      padding = op.get_attr('padding')
      shape_0, shape_1 = tf.shape_n([op.inputs[0], op.inputs[1]])
      return [
          tf.compat.v1.nn.conv2d_backprop_input(
              shape_0,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 31 20:23:51 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/examples/pad/ops_defs.py

        input_ = tf.raw_ops.Concat(
            concat_dim=i, values=[left_padding, input_, right_padding])
      return input_
    
    
    @tf.RegisterGradient('NewMirrorPad')
    def _mirror_pad_grad(op, grad):
      mode = op.get_attr('mode')
      return [gen_array_ops.mirror_pad_grad(grad, op.inputs[1], mode=mode), None]
    
    
    @Composite(
        'NewMirrorPadGrad',
        inputs=['input_: T', 'paddings: Tpaddings'],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Oct 01 05:00:29 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/xattr_bsd.go

    func Getxattr(file string, attr string, dest []byte) (sz int, err error) {
    	d := initxattrdest(dest, 0)
    	destsize := len(dest)
    
    	nsid, a, err := xattrnamespace(attr)
    	if err != nil {
    		return -1, err
    	}
    
    	return ExtattrGetFile(file, nsid, a, uintptr(d), destsize)
    }
    
    func Fgetxattr(fd int, attr string, dest []byte) (sz int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/symaddr_zos_s390x.s

    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_GetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Getxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_NanosleepAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Nanosleep(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_SetxattrAddr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Setxattr(SB), R8
    	MOVD R8, ret+0(FP)
    	RET
    
    TEXT ·get_Wait4Addr(SB), NOSPLIT|NOFRAME, $0-8
    	MOVD $·Wait4(SB), R8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. fess-crawler/src/test/resources/extractor/test_attr.html

    Shinsuke Sugaya <******@****.***> 1444529815 +0900
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 308 bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/nms_utils.cc

        flexbuffers::Builder* builder) {
      auto int_attr = mlir::dyn_cast_or_null<IntegerAttr>(attrs.get(attribute));
      if (!int_attr) {
        return func.emitError()
               << attribute.c_str() << " attribute is not set or not an integer";
      }
      builder->Int(attribute.c_str(), int_attr.getInt());
      return success();
    }
    
    LogicalResult ConvertSSDPostProcessFunc::AddFloatAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

        float max_percentile;
        OP_REQUIRES_OK(context, context->GetAttr("calibration_method",
                                                 &calibration_method_value));
        OP_REQUIRES_OK(context, context->GetAttr("num_bins", &num_bins));
        OP_REQUIRES_OK(context,
                       context->GetAttr("min_percentile", &min_percentile));
        OP_REQUIRES_OK(context,
                       context->GetAttr("max_percentile", &max_percentile));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. tests/test_operations_signatures.py

    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
            app_sig = inspect.signature(app_method)
            param: inspect.Parameter
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 27 12:08:13 UTC 2019
    - 934 bytes
    - Viewed (0)
  9. tensorflow/compiler/aot/aot_only_var_handle_op.cc

        .SetIsStateful()
        .SetShapeFn([](shape_inference::InferenceContext* c) {
          c->set_output(0, c->Scalar());
          DataType t;
          TF_RETURN_IF_ERROR(c->GetAttr("dtype", &t));
          PartialTensorShape p;
          TF_RETURN_IF_ERROR(c->GetAttr("shape", &p));
          shape_inference::ShapeHandle s;
          TF_RETURN_IF_ERROR(c->MakeShapeFromPartialTensorShape(p, &s));
          c->set_output_handle_shapes_and_types(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 09:57:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. tests/test_custom_route_class.py

    def test_route_classes():
        routes = {}
        for r in app.router.routes:
            assert isinstance(r, Route)
            routes[r.path] = r
        assert getattr(routes["/a/"], "x_type") == "A"  # noqa: B009
        assert getattr(routes["/a/b/"], "x_type") == "B"  # noqa: B009
        assert getattr(routes["/a/b/c/"], "x_type") == "C"  # noqa: B009
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top