Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 310 for attr_ (0.17 sec)

  1. tensorflow/cc/gradients/array_grad_test.cc

      GatherV2::Attrs attrs;
      attrs.batch_dims_ = 1;
      auto y = GatherV2(scope_, x, {{0}, {0}}, /*axis=*/1, attrs);
      TensorShape y_shape({2, 1});
      RunTest(x, shape, y, y_shape);
    }
    
    TEST_F(ArrayGradTest, GatherV2Grad_BatchDimWithAxis) {
      TensorShape shape({2, 1, 3});
      auto x = Placeholder(scope_, DT_FLOAT, Placeholder::Shape(shape));
      GatherV2::Attrs attrs;
      attrs.batch_dims_ = 1;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 10 23:33:32 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api.cc

    }
    
    void TFE_OpAddAttrs(TFE_Op* op, const TFE_OpAttrs* attrs) {
      tensorflow::unwrap(op)->AddAttrs(tensorflow::unwrap(attrs));
    }
    
    void TFE_OpAttrsSerialize(const TFE_OpAttrs* attrs, TF_Buffer* buf,
                              TF_Status* status) {
      tensorflow::NameAttrList name_and_attrs;
      tensorflow::unwrap(attrs)->GetNameAttrList(&name_and_attrs);
      status->status = MessageToBuffer(name_and_attrs, buf);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_cluster_formation.cc

        auto metadata_op = llvm::dyn_cast<mlir::TF::TPUReplicateMetadataOp>(op);
        if (!metadata_op) continue;
    
        NamedAttrList attrs(metadata_op->getAttrDictionary());
    
        // Missing or bad `_replication_info` attribute.
        auto replication_info_attr = attrs.get(mlir::TF::kReplicationInfoAttr);
        if (!replication_info_attr)
          return metadata_op.emitError() << kBadReplicateInfoAttrMsg;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 39.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.stack.part.pbtxt

      input: "MobilenetV1/Conv2d_0/weights/read"
      attr {
        key: "T"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "data_format"
        value {
          s: "NDHWC"
        }
      }
      attr {
        key: "dilations"
        value {
          list {
            i: 1
            i: 1
            i: 1
            i: 1
          }
        }
      }
      attr {
        key: "padding"
        value {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.4K bytes
    - Viewed (0)
  5. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyGradleModuleMetadataPublishIntegrationTest.groovy

            buildFile << """
                apply plugin: 'ivy-publish'
    
                group = 'group'
                version = '1.0'
    
                def comp = new TestComponent()
                def attr1 = Attribute.of('custom', String)
                def attr2 = Attribute.of('nice', Boolean)
    
                comp.usages.add(new TestUsage(
                        name: 'api',
                        usage: objects.named(Usage, 'api'),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 07:21:42 UTC 2023
    - 30.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_saver_op_test.cc

                      .Input(inputs)
                      .Attr("ids", ids)
                      .Attr("calibration_methods", calibration_methods)
                      .Finalize(node_def()));
      ASSERT_THAT(InitOp(),
                  StatusIs(tsl::error::INVALID_ARGUMENT,
                           HasSubstr("NodeDef missing attr 'output_file_path'")));
    }
    
    TEST_F(CalibrationStatisticsSaverTest, WrongNumInputs) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 01:31:23 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/gradients.cc

      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
      forward_op_->attrs.BuildNodeDef();
      std::unique_ptr<GradientFunction> gradient_fn;
      TF_RETURN_IF_ERROR(registry.Lookup(*forward_op_, &gradient_fn));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    	interfaces := &admission.RuntimeObjectInterfaces{EquivalentResourceMapper: mapper}
    
    	testcases := []struct {
    		name string
    
    		webhook *v1.ValidatingWebhook
    		attrs   admission.Attributes
    
    		expectCall            bool
    		expectErr             string
    		expectCallResource    schema.GroupVersionResource
    		expectCallSubresource string
    		expectCallKind        schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/tests/decompose.mlir

      %filter = tfr.constant [1, 2, 2, 1] -> !tfr.attr
      %padding = tfr.constant "VALID" -> !tfr.attr
      %explicit_paddings = tfr.constant [] -> !tfr.attr
      %data_format = tfr.constant "NHWC" -> !tfr.attr
      %MaxPool = tfr.call @tf__max_pool(%input_, %stride, %filter, %padding, %explicit_paddings, %data_format) : (!tfr.tensor, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr, !tfr.attr) -> (!tfr.tensor)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 16.7K bytes
    - Viewed (0)
  10. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarIntegrationTest.groovy

            jar.manifest.mainAttributes.getValue('attr') == null
    
            when: "Attribute added"
            buildFile.text = jarWithManifest("attributes(attr: 'Hello')")
            run 'jar'
    
            then:
            executedAndNotSkipped ':jar'
            jar.manifest.mainAttributes.getValue('attr') == 'Hello'
    
            when: "Attribute modified"
            buildFile.text = jarWithManifest("attributes(attr: 'Hi')")
            run 'jar'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 15.7K bytes
    - Viewed (0)
Back to top