Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setAttr (1.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      if (failed(::mlir::TF::UpdateDataFormat(data_format, this))) return failure();
    
      // Update convolution attributes.
      (*this)->setAttr("dilations", ShuffleArrayAttr(getDilations(), perm));
      (*this)->setAttr("strides", ShuffleArrayAttr(getStrides(), perm));
      (*this)->setAttr("explicit_paddings",
                       ShuffleArrayAttr(getExplicitPaddings(), perm, 2));
    
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              /*type=*/mlir::TypeAttr::get(value_attr.getType()),
              /*is_mutable=*/nullptr);
          op->setAttr(
              kTfSavedModelExportedNamesAttr,
              builder.getStrArrayAttr(object_names.GetExportedNames(node_id)));
        }
      }
      AdjustBoundInputArgTypes(module);
      module->setAttr("tf_saved_model.semantics", builder.getUnitAttr());
      SortSavedModelModule(module);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                addSetterForProperty(property, setter);
            }
    
            private void addSetterForProperty(PropertyMetadata property, Method setter) {
                // GENERATE public void <setter>(<type> value) { <field> == value }
                Type fieldType = getType(property.getType());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    template <typename CallOpClass>
    static LogicalResult VerifyPartitionedCall(CallOpClass op,
                                               SymbolTableCollection &symbolTable) {
      SymbolRefAttr func = op->getAttr("f").template cast<SymbolRefAttr>();
      auto function = symbolTable.lookupNearestSymbolFrom<func::FuncOp>(op, func);
      if (!function) {
        return op.emitError("'f' attribute refers to an undefined function: ")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  5. 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)
  6. pkg/kubelet/kubelet_node_status_test.go

    			// override test volumeManager
    			fakeVolumeManager := kubeletvolume.NewFakeVolumeManager(tc.existingVolumes)
    			kubelet.volumeManager = fakeVolumeManager
    
    			// Only test VolumesInUse setter
    			kubelet.setNodeStatusFuncs = []func(context.Context, *v1.Node) error{
    				nodestatus.VolumesInUse(kubelet.volumeManager.ReconcilerStatesHasBeenSynced,
    					kubelet.volumeManager.GetVolumesInUse),
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 08 19:23:19 UTC 2024
    - 115.8K bytes
    - Viewed (0)
  7. src/reflect/value.go

    // A [Value] can be changed only if it is addressable and was not
    // obtained by the use of unexported struct fields.
    // If CanSet returns false, calling [Value.Set] or any type-specific
    // setter (e.g., [Value.SetBool], [Value.SetInt]) will panic.
    func (v Value) CanSet() bool {
    	return v.flag&(flagAddr|flagRO) == flagAddr
    }
    
    // Call calls the function v with the input arguments in.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
Back to top